C# Class MetroLog.Targets.BufferedTarget

Inheritance: AsyncTarget, ILazyFlushable
Mostra file Open project: onovotny/MetroLog

Private Properties

Property Type Description
FlushAsync Task
ILazyFlushable System.Threading.Tasks.Task

Public Methods

Method Description
BufferedTarget ( Layout layout, int threshold ) : MetroLog.Internal

Protected Methods

Method Description
DoFlushAsync ( LogWriteContext context, IEnumerable toFlush ) : System.Threading.Tasks.Task
WriteAsyncCore ( LogWriteContext context, LogEventInfo entry ) : Task

Private Methods

Method Description
FlushAsync ( LogWriteContext context, IEnumerable toFlush ) : Task
ILazyFlushable ( LogWriteContext context ) : System.Threading.Tasks.Task

Method Details

BufferedTarget() public method

public BufferedTarget ( Layout layout, int threshold ) : MetroLog.Internal
layout MetroLog.Layouts.Layout
threshold int
return MetroLog.Internal

DoFlushAsync() protected abstract method

protected abstract DoFlushAsync ( LogWriteContext context, IEnumerable toFlush ) : System.Threading.Tasks.Task
context LogWriteContext
toFlush IEnumerable
return System.Threading.Tasks.Task

WriteAsyncCore() protected final method

protected final WriteAsyncCore ( LogWriteContext context, LogEventInfo entry ) : Task
context LogWriteContext
entry LogEventInfo
return Task