Lean  $LEAN_TAG$
QuantConnect.Logging.CompositeLogHandler Class Reference

Provides an ILogHandler implementation that composes multiple handlers More...

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

Public Member Functions

 CompositeLogHandler ()
 Initializes a new instance of the CompositeLogHandler that pipes log messages to the console and log.txt More...
 
 CompositeLogHandler (params ILogHandler[] handlers)
 Initializes a new instance of the CompositeLogHandler class from the specified handlers 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

Provides an ILogHandler implementation that composes multiple handlers

Definition at line 23 of file CompositeLogHandler.cs.

Constructor & Destructor Documentation

◆ CompositeLogHandler() [1/2]

QuantConnect.Logging.CompositeLogHandler.CompositeLogHandler ( )

Initializes a new instance of the CompositeLogHandler that pipes log messages to the console and log.txt

Definition at line 30 of file CompositeLogHandler.cs.

◆ CompositeLogHandler() [2/2]

QuantConnect.Logging.CompositeLogHandler.CompositeLogHandler ( params ILogHandler[]  handlers)

Initializes a new instance of the CompositeLogHandler class from the specified handlers

Parameters
handlersThe implementations to compose

Definition at line 39 of file CompositeLogHandler.cs.

Member Function Documentation

◆ Error()

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

Write error message to log

Parameters
text

Implements QuantConnect.Logging.ILogHandler.

Definition at line 53 of file CompositeLogHandler.cs.

◆ Debug()

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

Write debug message to log

Parameters
text

Implements QuantConnect.Logging.ILogHandler.

Definition at line 65 of file CompositeLogHandler.cs.

◆ Trace()

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

Write debug message to log

Parameters
text

Implements QuantConnect.Logging.ILogHandler.

Definition at line 77 of file CompositeLogHandler.cs.

◆ Dispose()

void QuantConnect.Logging.CompositeLogHandler.Dispose ( )

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

<filterpriority>2</filterpriority>

Definition at line 89 of file CompositeLogHandler.cs.


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