Log Class
From Tungsten Suite
Tungsten
|
|
Log Class |
Exposes static methods for logging. LogTheMessage can be assigned a new value for customized logging.
Namespace: W.Logging
Assembly: Tungsten.Logging (in Tungsten.Logging.dll) Version: 2.0.0
C#
public static class Log
The Log type exposes the following members.
| Name | Description | |
|---|---|---|
| AddTimestamp |
If True, log messages will be prefixed with a timestamp
|
| Name | Description | |
|---|---|---|
| e(Exception) |
Log an Exception
| |
| e(String, Object) |
Log a formatted exception message. This method uses string.Format to format the message.
| |
| i(String, Object) |
Log a formatted informational message. This method uses string.Format to format the message.
| |
| i(String, String, Int32) |
Log a formatted informational message. This method uses string.Format to format the message.
| |
| v(String, Object) |
Log a formatted verbose message. This method uses string.Format to format the message.
| |
| v(String, String, Int32) |
Log a formatted verbose message. This method uses string.Format to format the message.
| |
| w(String, Object) |
Log a formatted warning message. This method uses string.Format to format the message.
| |
| w(String, String, Int32) |
Log a formatted warning message. This method uses string.Format to format the message.
|
| Name | Description | |
|---|---|---|
| LogTheMessage |
Configure this Action to log messages the way you like to
|