C# Class Fluent.FluentSender

Inheritance: IDisposable
Datei anzeigen Open project: zoetrope/fluent-logger-csharp Class Usage Examples

Public Methods

Method Description
CreateSync ( string tag, string host = "localhost", int port = 24224, int bufmax = 1024*1024, int timeout = 3000, bool verbose = false, int autoretryinterval = 10000 ) : Task
Dispose ( ) : void
EmitAsync ( string label ) : Task
EmitWithTimeAsync ( string label, System.DateTime timestamp ) : Task
FluentSender ( string tag, string host = "localhost", int port = 24224, int bufmax = 1024*1024, int timeout = 3000, bool verbose = false, int autoretryinterval = 10000 ) : System

Private Methods

Method Description
Close ( ) : void
InitializeAsync ( ) : Task
ReconnectAsync ( ) : Task
RetryTimerTick ( object sender ) : void
SendAsync ( byte bytes ) : Task
SendInternalAsync ( byte bytes ) : Task

Method Details

CreateSync() public static method

public static CreateSync ( string tag, string host = "localhost", int port = 24224, int bufmax = 1024*1024, int timeout = 3000, bool verbose = false, int autoretryinterval = 10000 ) : Task
tag string
host string
port int
bufmax int
timeout int
verbose bool
autoretryinterval int
return Task

Dispose() public method

public Dispose ( ) : void
return void

EmitAsync() public method

public EmitAsync ( string label ) : Task
label string
return Task

EmitWithTimeAsync() public method

public EmitWithTimeAsync ( string label, System.DateTime timestamp ) : Task
label string
timestamp System.DateTime
return Task

FluentSender() public method

public FluentSender ( string tag, string host = "localhost", int port = 24224, int bufmax = 1024*1024, int timeout = 3000, bool verbose = false, int autoretryinterval = 10000 ) : System
tag string
host string
port int
bufmax int
timeout int
verbose bool
autoretryinterval int
return System