C# Class Fluent.FluentSender

Inheritance: IDisposable
Afficher le fichier Open project: zoetrope/fluent-logger-csharp Class Usage Examples

Méthodes publiques

Méthode 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

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

Method Details

CreateSync() public static méthode

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
Résultat Task

Dispose() public méthode

public Dispose ( ) : void
Résultat void

EmitAsync() public méthode

public EmitAsync ( string label ) : Task
label string
Résultat Task

EmitWithTimeAsync() public méthode

public EmitWithTimeAsync ( string label, System.DateTime timestamp ) : Task
label string
timestamp System.DateTime
Résultat Task

FluentSender() public méthode

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
Résultat System