LimitingTargetWrapperWrite Method |
Name | Description | |
---|---|---|
Write(AsyncLogEventInfo) |
Writes log event to the wrapped target if the current MessagesWrittenCount is lower than MessageLimit.
If the MessageLimit is already reached, no log event will be written to the wrapped target.
MessagesWrittenCount resets when the current Interval is expired.
(Overrides TargetWrite(AsyncLogEventInfo).) | |
Write(IListAsyncLogEventInfo) |
Writes an array of logging events to the log target. By default it iterates on all
events and passes them to "Write" method. Inheriting classes can use this method to
optimize batch writes.
(Inherited from Target.) | |
Write(LogEventInfo) |
Writes logging event to the log target. Must be overridden in inheriting
classes.
(Inherited from WrapperTargetBase.) |