Share via


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
System_CAPS_pubmethodSystem_CAPS_static Error(String)

Logs an error event with the specified error message.

System_CAPS_pubmethodSystem_CAPS_static Error(String, Object[])

Logs an error event with the specified format and arguments.

System_CAPS_pubmethodSystem_CAPS_static Exception(Exception)

Notifies the logger that an exception has been thrown.

System_CAPS_pubmethodSystem_CAPS_static Info(String)

Logs the message passed as an info event to the log file.

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static Verbose(String)

Writes a verbose message to the logger, using the specified messgase.

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static Warning(String)

Logs the message passed as a warning event to the log file.

System_CAPS_pubmethodSystem_CAPS_static 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