C# Class log4net.loggly.LogglyAsyncHandler

显示文件 Open project: psquickitjayant/log4net-loggly Class Usage Examples

Public Properties

Property Type Description
Client ILogglyClient

Protected Properties

Property Type Description
IsRunning bool
Queue BlockingCollection
WorkerThread System.Threading.Thread
_config ILogglyAppenderConfig

Public Methods

Method Description
LogglyAsyncHandler ( ) : System.Collections.Concurrent
PostMessage ( string msg, ILogglyAppenderConfig config ) : void

Protected Methods

Method Description
SendLogs ( ) : void

Method Details

LogglyAsyncHandler() public method

public LogglyAsyncHandler ( ) : System.Collections.Concurrent
return System.Collections.Concurrent

PostMessage() public method

public PostMessage ( string msg, ILogglyAppenderConfig config ) : void
msg string
config ILogglyAppenderConfig
return void

SendLogs() protected method

protected SendLogs ( ) : void
return void

Property Details

Client public_oe static_oe property

public static ILogglyClient Client
return ILogglyClient

IsRunning protected_oe property

protected bool IsRunning
return bool

Queue protected_oe property

protected BlockingCollection Queue
return BlockingCollection

WorkerThread protected_oe property

protected Thread,System.Threading WorkerThread
return System.Threading.Thread

_config protected_oe property

protected ILogglyAppenderConfig _config
return ILogglyAppenderConfig