C# Class MetroLog.Targets.JsonPostTarget

Inheritance: BufferedTarget
显示文件 Open project: onovotny/MetroLog

Public Methods

Method Description
JsonPostTarget ( Layout layout, int threshold, Uri url ) : MetroLog.Internal
JsonPostTarget ( int threshold, Uri uri ) : MetroLog.Internal

Protected Methods

Method Description
DoFlushAsync ( LogWriteContext context, IEnumerable toFlush ) : System.Threading.Tasks.Task
OnBeforePost ( HttpClientEventArgs args ) : void

Method Details

DoFlushAsync() protected method

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

JsonPostTarget() public method

public JsonPostTarget ( Layout layout, int threshold, Uri url ) : MetroLog.Internal
layout MetroLog.Layouts.Layout
threshold int
url System.Uri
return MetroLog.Internal

JsonPostTarget() public method

public JsonPostTarget ( int threshold, Uri uri ) : MetroLog.Internal
threshold int
uri System.Uri
return MetroLog.Internal

OnBeforePost() protected method

protected OnBeforePost ( HttpClientEventArgs args ) : void
args HttpClientEventArgs
return void