QueueLogHandler
QuantConnect.Logging.QueueLogHandler
QueueLogHandler()
Bases: Object, ILogHandler
ILogHandler implementation that queues all logs and writes them when instructed.
Initializes a new instance of the QueueLogHandler class.
debug
debug(text: str) -> None
Write debug message to log
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
text
|
str
|
The debug text to log |
required |
dispose
dispose() -> None
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
error
error(text: str) -> None
Write error message to log
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
text
|
str
|
The error text to log |
required |
on_log_event
on_log_event(log: LogEntry) -> None
Raise a log event safely
This codeEntityType is protected.
trace
trace(text: str) -> None
Write debug message to log
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
text
|
str
|
The trace text to log |
required |