Log Class

Tungsten Suite

Log Class

Exposes static methods for logging. LogTheMessage can be assigned a new value for customized logging.
Inheritance Hierarchy
SystemObject  W.LoggingLog

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
  NameDescription
Public propertyStatic memberAddTimestamp
If True, log messages will be prefixed with a timestamp
Top
Methods
  NameDescription
Public methodStatic membere(Exception)
Log an Exception
Public methodStatic membere(String, Object)
Log a formatted exception message. This method uses string.Format to format the message.
Public methodStatic memberi(String, Object)
Log a formatted informational message. This method uses string.Format to format the message.
Public methodStatic memberi(String, String, Int32)
Log a formatted informational message. This method uses string.Format to format the message.
Public methodStatic memberv(String, Object)
Log a formatted verbose message. This method uses string.Format to format the message.
Public methodStatic memberv(String, String, Int32)
Log a formatted verbose message. This method uses string.Format to format the message.
Public methodStatic memberw(String, Object)
Log a formatted warning message. This method uses string.Format to format the message.
Public methodStatic memberw(String, String, Int32)
Log a formatted warning message. This method uses string.Format to format the message.
Top
Events
  NameDescription
Public eventStatic memberLogTheMessage
Configure this Action to log messages the way you like to
Top
See Also