C# Class log4net.loggly.LogglyAsyncHandler

Show file 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 static property

public static ILogglyClient Client
return ILogglyClient

IsRunning protected property

protected bool IsRunning
return bool

Queue protected property

protected BlockingCollection Queue
return BlockingCollection

WorkerThread protected property

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

_config protected property

protected ILogglyAppenderConfig _config
return ILogglyAppenderConfig