C# Class MetroLog.Targets.BufferedTarget

Inheritance: AsyncTarget, ILazyFlushable
Afficher le fichier Open project: onovotny/MetroLog

Private Properties

Свойство Type Description
FlushAsync Task
ILazyFlushable System.Threading.Tasks.Task

Méthodes publiques

Méthode Description
BufferedTarget ( Layout layout, int threshold ) : MetroLog.Internal

Méthodes protégées

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

Private Methods

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

Method Details

BufferedTarget() public méthode

public BufferedTarget ( Layout layout, int threshold ) : MetroLog.Internal
layout MetroLog.Layouts.Layout
threshold int
Résultat MetroLog.Internal

DoFlushAsync() protected abstract méthode

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

WriteAsyncCore() protected final méthode

protected final WriteAsyncCore ( LogWriteContext context, LogEventInfo entry ) : Task
context LogWriteContext
entry LogEventInfo
Résultat Task