Log interface supporting level based and categorised logging.
More...
List of all members.
Public Member Functions |
void | Log (LogLevel level, int category, string message, params object[] args) |
| Log a message with the given level and category.
|
void | Log (LogLevel level, string message, params object[] args) |
| Log a message with the given level in the default category.
|
void | Log (int category, string message, params object[] args) |
| Log an information message in the given category.
|
void | Log (string message, params object[] args) |
| Log an information message in the default category.
|
void | Log (int category, System.Exception e) |
| Log details of an exception associating the output with a category.
|
void | Log (System.Exception e) |
| Log details of an exception.
|
Detailed Description
Log interface supporting level based and categorised logging.
Category names are resolved using T:LogCategories.
Member Function Documentation
void Tes::Logging::ILog::Log |
( |
LogLevel |
level, |
|
|
int |
category, |
|
|
string |
message, |
|
|
params object[] |
args |
|
) |
| |
Log a message with the given level and category.
- Parameters:
-
level | The message log level. |
category | Category for the log message. |
message | The log message. Formatting follows string.Format() |
args | Additional format arguments. |
void Tes::Logging::ILog::Log |
( |
System.Exception |
e | ) |
|
Log details of an exception.
- Parameters:
-
e | The exception to log details of. |
void Tes::Logging::ILog::Log |
( |
int |
category, |
|
|
System.Exception |
e |
|
) |
| |
Log details of an exception associating the output with a category.
- Parameters:
-
category | Category for the log message. |
e | The exception to log details of. |
void Tes::Logging::ILog::Log |
( |
string |
message, |
|
|
params object[] |
args |
|
) |
| |
Log an information message in the default category.
- Parameters:
-
message | The log message. Formatting follows string.Format() |
args | Additional format arguments. |
void Tes::Logging::ILog::Log |
( |
int |
category, |
|
|
string |
message, |
|
|
params object[] |
args |
|
) |
| |
Log an information message in the given category.
- Parameters:
-
category | Category for the log message. |
message | The log message. Formatting follows string.Format() |
args | Additional format arguments. |
void Tes::Logging::ILog::Log |
( |
LogLevel |
level, |
|
|
string |
message, |
|
|
params object[] |
args |
|
) |
| |
Log a message with the given level in the default category.
- Parameters:
-
level | The message log level. |
message | The log message. Formatting follows string.Format() |
args | Additional format arguments. |
The documentation for this interface was generated from the following file: