Tungsten
Log Class |
Exposes static methods for logging. LogTheMessage can be assigned a new value for customized logging.
Inheritance Hierarchy
Namespace: W.Logging
Assembly: Tungsten.Logging (in Tungsten.Logging.dll) Version: 2.0.0
Syntax
C#
public static class Log
The Log type exposes the following members.
Properties
Name | Description | |
---|---|---|
AddTimestamp |
If True, log messages will be prefixed with a timestamp
|
Methods
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.
|
Events
Name | Description | |
---|---|---|
LogTheMessage |
Configure this Action to log messages the way you like to
|
See Also