[]
Adds log entry to the Log list.
public LogEntry AddToLog(Exception ex)
Type | Name | Description |
---|---|---|
Exception | ex | The exception associated with log entry. |
Type | Description |
---|---|
LogEntry | The created LogEntry object. |
Adds log entry to the Log list.
public LogEntry AddToLog(LogEntrySeverity severity, string message)
Type | Name | Description |
---|---|---|
LogEntrySeverity | severity | The severity of the log entry. |
string | message | The message of the log entry. |
Type | Description |
---|---|
LogEntry | The created LogEntry object. |
Adds log entry to the Log list.
public LogEntry AddToLog(LogEntrySeverity severity, string format, params object[] args)
Type | Name | Description |
---|---|---|
LogEntrySeverity | severity | The severity of the log entry. |
string | format | The format string used to build message of the log entry. |
object[] | args | The arguments used to build message of the log entry. |
Type | Description |
---|---|
LogEntry | The created LogEntry object. |