Lean  $LEAN_TAG$
QuantConnect.Logging.FunctionalLogHandler Class Reference

ILogHandler implementation that writes log output to result handler More...

Inheritance diagram for QuantConnect.Logging.FunctionalLogHandler:
[legend]

Public Member Functions

 FunctionalLogHandler ()
 Default constructor to handle MEF. More...
 
 FunctionalLogHandler (Action< string > debug, Action< string > trace, Action< string > error)
 Initializes a new instance of the QuantConnect.Logging.FunctionalLogHandler 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...
 

Detailed Description

ILogHandler implementation that writes log output to result handler

Definition at line 26 of file FunctionalLogHandler.cs.

Constructor & Destructor Documentation

◆ FunctionalLogHandler() [1/2]

QuantConnect.Logging.FunctionalLogHandler.FunctionalLogHandler ( )

Default constructor to handle MEF.

Definition at line 36 of file FunctionalLogHandler.cs.

◆ FunctionalLogHandler() [2/2]

QuantConnect.Logging.FunctionalLogHandler.FunctionalLogHandler ( Action< string >  debug,
Action< string >  trace,
Action< string >  error 
)

Initializes a new instance of the QuantConnect.Logging.FunctionalLogHandler class.

Definition at line 44 of file FunctionalLogHandler.cs.

Member Function Documentation

◆ Error()

void QuantConnect.Logging.FunctionalLogHandler.Error ( string  text)

Write error message to log

Parameters
textThe error text to log

Implements QuantConnect.Logging.ILogHandler.

Definition at line 57 of file FunctionalLogHandler.cs.

◆ Debug()

void QuantConnect.Logging.FunctionalLogHandler.Debug ( string  text)

Write debug message to log

Parameters
textThe debug text to log

Implements QuantConnect.Logging.ILogHandler.

Definition at line 69 of file FunctionalLogHandler.cs.

◆ Trace()

void QuantConnect.Logging.FunctionalLogHandler.Trace ( string  text)

Write debug message to log

Parameters
textThe trace text to log

Implements QuantConnect.Logging.ILogHandler.

Definition at line 81 of file FunctionalLogHandler.cs.

◆ Dispose()

void QuantConnect.Logging.FunctionalLogHandler.Dispose ( )

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

<filterpriority>2</filterpriority>

Definition at line 93 of file FunctionalLogHandler.cs.


The documentation for this class was generated from the following file: