FunctionalLogHandler
QuantConnect.Logging.FunctionalLogHandler
FunctionalLogHandler()
FunctionalLogHandler(
debug: Callable[[str], Any],
trace: Callable[[str], Any],
error: Callable[[str], Any],
)
Bases: Object, ILogHandler
ILogHandler implementation that writes log output to result handler
Signature descriptions:
-
Default constructor to handle MEF.
-
Initializes a new instance of the QuantConnect.Logging.FunctionalLogHandler 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 |
trace
trace(text: str) -> None
Write debug message to log
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
text
|
str
|
The trace text to log |
required |