|
Lean
$LEAN_TAG$
|
Log entry wrapper to make logging simpler: More...
Public Member Functions | |
| LogEntry (string message) | |
| Create a default log message with the current time. More... | |
| LogEntry (string message, DateTime time, LogType type=LogType.Trace) | |
| Create a log entry at a specific time in the analysis (for a backtest). More... | |
| override string | ToString () |
| Helper override on the log entry. More... | |
Properties | |
| DateTime | Time [get, set] |
| Time of the log entry More... | |
| string | Message [get, set] |
| Message of the log entry More... | |
| LogType | MessageType [get, set] |
| Descriptor of the message type. More... | |
Log entry wrapper to make logging simpler:
Definition at line 25 of file LogEntry.cs.
| QuantConnect.Logging.LogEntry.LogEntry | ( | string | message | ) |
Create a default log message with the current time.
| message |
Definition at line 46 of file LogEntry.cs.
| QuantConnect.Logging.LogEntry.LogEntry | ( | string | message, |
| DateTime | time, | ||
| LogType | type = LogType.Trace |
||
| ) |
Create a log entry at a specific time in the analysis (for a backtest).
| message | Message for log |
| time | Utc time of the message |
| type | Type of the log entry |
Definition at line 59 of file LogEntry.cs.
| override string QuantConnect.Logging.LogEntry.ToString | ( | ) |
|
getset |
Time of the log entry
Definition at line 30 of file LogEntry.cs.
|
getset |
Message of the log entry
Definition at line 35 of file LogEntry.cs.
|
getset |
Descriptor of the message type.
Definition at line 40 of file LogEntry.cs.