Method | Description | |
---|---|---|
Complete ( ) : void |
Signals to the T:System.Threading.Tasks.Dataflow.IDataflowBlock that it should not accept nor produce any more messages nor consume any more postponed messages.
|
|
Fault ( |
Causes the T:System.Threading.Tasks.Dataflow.IDataflowBlock to complete in a F:System.Threading.Tasks.TaskStatus.Faulted state.
|
|
OfferMessage ( DataflowMessageHeader messageHeader, LogEntry messageValue, ISourceBlock |
Offers the message.
|
|
ShouldLog ( LogEntry logEntry ) : System.Boolean |
Predicate which determines whether or not the target instance should log this entry.
|
Method | Description | |
---|---|---|
BatchLogTargetBase ( |
Initializes a new instance of the BatchLogTargetBase class.
|
|
BatchLogTargetBase ( |
Initializes a new instance of the BatchLogTargetBase class.
|
|
Log ( IEnumerable |
Logs the specified log entries.
|
Method | Description | |
---|---|---|
FlushTimerCallback ( Object state ) : void |
protected BatchLogTargetBase ( |
||
batchSize | Size of the log batch. | |
flushInterval | System.TimeSpan |
/// The interval with which to initiate a batching operation even if the
/// number of currently queued logs is less than the |
return | System |
protected BatchLogTargetBase ( |
||
batchSize | Size of the log batch. | |
flushInterval | System.TimeSpan | The flush interval.
/// The interval with which to initiate a batching operation even if the
/// number of currently queued logs is less than the |
maxDegreeOfParallelism | The max degree of parallelism the target instance will log batch entries (ie. |
|
return | System |
public Fault ( |
||
exception | The |
|
return | void |
protected abstract Log ( IEnumerable |
||
logEntries | IEnumerable |
The log entries. |
return | void |
public OfferMessage ( DataflowMessageHeader messageHeader, LogEntry messageValue, ISourceBlock |
||
messageHeader | DataflowMessageHeader | The message header. |
messageValue | LogEntry | The message value. |
source | ISourceBlock |
The source. |
consumeToAccept | System.Boolean | The consume to accept. |
return | DataflowMessageStatus |
public abstract ShouldLog ( LogEntry logEntry ) : System.Boolean | ||
logEntry | LogEntry | The log entry. |
return | System.Boolean |