Method | Description | |
---|---|---|
CreateListener ( string serverUrl, string apiKey = null, System.TimeSpan bufferingInterval = null, System.TimeSpan listenerDisposeTimeout = null, int bufferingCount = Buffering.DefaultBufferingCount, int maxBufferSize = Buffering.DefaultMaxBufferSize ) : System.Diagnostics.Tracing.EventListener |
Creates an event listener that logs using a SeqSink.
|
|
LogToSeq ( this |
Subscribes to an IObservable{EventEntry} using a SeqSink.
|
public static CreateListener ( string serverUrl, string apiKey = null, System.TimeSpan bufferingInterval = null, System.TimeSpan listenerDisposeTimeout = null, int bufferingCount = Buffering.DefaultBufferingCount, int maxBufferSize = Buffering.DefaultMaxBufferSize ) : System.Diagnostics.Tracing.EventListener | ||
serverUrl | string | The base URL of the Seq server that log events will be written to. |
apiKey | string | A Seq API key that authenticates the client to the Seq server. |
bufferingInterval | System.TimeSpan | The buffering interval between each batch publishing. Default value is |
listenerDisposeTimeout | System.TimeSpan | Time limit for flushing the entries after an |
bufferingCount | int | Number of entries that will trigger batch publishing. Default is |
maxBufferSize | int | The maximum number of entries that can be buffered before the sink starts dropping entries.
/// This means that if the timeout period elapses, some event entries will be dropped and not sent to the store. Normally, calling |
return | System.Diagnostics.Tracing.EventListener |
public static LogToSeq ( this |
||
eventStream | this |
The event stream. Typically this is an instance of |
serverUrl | string | The base URL of the Seq server that log events will be written to. |
apiKey | string | A Seq API key that authenticates the client to the Seq server. |
bufferingInterval | System.TimeSpan | The buffering interval between each batch publishing. Default value is |
onCompletedTimeout | System.TimeSpan | Time limit for flushing the entries after an |
bufferingCount | int | Number of entries that will trigger batch publishing. Default is |
maxBufferSize | int | The maximum number of entries that can be buffered before the sink starts dropping entries.
/// This means that if the timeout period elapses, some event entries will be dropped and not sent to the store. Normally, calling |
return | SinkSubscription |