OMLogger Class
Describes the logger.
Namespace: Microsoft.WindowsServerSolutions.Storage
Assembly: StorageOM (in StorageOM.dll)
Inheritance Hierarchy
System.Object
Microsoft.WindowsServerSolutions.Storage.OMLogger
Syntax
public static class OMLogger
public ref class OMLogger abstract sealed
Public NotInheritable Class OMLogger
Methods
Name | Description | |
---|---|---|
Error(String) | Logs an error event with the specified error message. |
|
Error(String, Object[]) | Logs an error event with the specified format and arguments. |
|
Exception(Exception) | Notifies the logger that an exception has been thrown. |
|
Info(String) | Logs the message passed as an info event to the log file. |
|
Info(String, Object[]) | Logs the text representation of the specified array of objects as an info event to the log file using the specified format. |
|
Verbose(String) | Writes a verbose message to the logger, using the specified messgase. |
|
Verbose(String, Object[]) | Logs the text representation of the specified array of objects as a verbose event to the log file using the specified format. |
|
Warning(String) | Logs the message passed as a warning event to the log file. |
|
Warning(String, Object[]) | Logs the text representation of the specified array of objects as a warning event to the log file using the specified format. |
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.WindowsServerSolutions.Storage Namespace
Return to top