Lean
$LEAN_TAG$
|
ILogHandler implementation that queues all logs and writes them when instructed. More...
Public Member Functions | |
delegate void | LogEventRaised (LogEntry log) |
LOgging event delegate More... | |
QueueLogHandler () | |
Initializes a new instance of the QueueLogHandler class. More... | |
void | Error (string text) |
Write error message to log More... | |
void | Debug (string text) |
Write debug message to log More... | |
void | Trace (string text) |
Write debug message to log More... | |
void | Dispose () |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. More... | |
Protected Member Functions | |
virtual void | OnLogEvent (LogEntry log) |
Raise a log event safely More... | |
Properties | |
ConcurrentQueue< LogEntry > | Logs [get] |
Public access to the queue for log processing. More... | |
Events | |
LogEventRaised | LogEvent |
Logging Event Handler More... | |
ILogHandler implementation that queues all logs and writes them when instructed.
Definition at line 26 of file QueueLogHandler.cs.
QuantConnect.Logging.QueueLogHandler.QueueLogHandler | ( | ) |
Initializes a new instance of the QueueLogHandler class.
Definition at line 54 of file QueueLogHandler.cs.
delegate void QuantConnect.Logging.QueueLogHandler.LogEventRaised | ( | LogEntry | log | ) |
LOgging event delegate
void QuantConnect.Logging.QueueLogHandler.Error | ( | string | text | ) |
Write error message to log
text | The error text to log |
Implements QuantConnect.Logging.ILogHandler.
Definition at line 65 of file QueueLogHandler.cs.
void QuantConnect.Logging.QueueLogHandler.Debug | ( | string | text | ) |
Write debug message to log
text | The debug text to log |
Implements QuantConnect.Logging.ILogHandler.
Definition at line 80 of file QueueLogHandler.cs.
void QuantConnect.Logging.QueueLogHandler.Trace | ( | string | text | ) |
Write debug message to log
text | The trace text to log |
Implements QuantConnect.Logging.ILogHandler.
Definition at line 93 of file QueueLogHandler.cs.
void QuantConnect.Logging.QueueLogHandler.Dispose | ( | ) |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
<filterpriority>2</filterpriority>
Definition at line 106 of file QueueLogHandler.cs.
|
protectedvirtual |
Raise a log event safely
Definition at line 113 of file QueueLogHandler.cs.
|
get |
Public access to the queue for log processing.
Definition at line 37 of file QueueLogHandler.cs.
LogEventRaised QuantConnect.Logging.QueueLogHandler.LogEvent |
Logging Event Handler
Definition at line 49 of file QueueLogHandler.cs.