Syntax

C#
public static class Log
Visual Basic (Declaration)
Public NotInheritable Class Log
Visual C++
public ref class Log abstract sealed

The type exposes the following members.

Public Methods

  NameDescription
Public methodStatic memberClose
Closes logging facility (until next init).
Public methodStatic memberConfig
Config level logging with variable number of arguments using format as in System.String.Format.
Public methodStatic memberDebug
Debug level logging with variable number of arguments using format as in System.String.Format.
Public methodStatic memberEnabled
True if log messages at the given level are enabled.
Public methodStatic memberError
Error level logging with variable number of arguments using format as in System.String.Format.
Public methodStatic memberFine
Fine level logging with variable number of arguments using format as in System.String.Format.
Public methodStatic memberFiner
Finer level logging with variable number of arguments using format as in System.String.Format.
Public methodStatic memberFinest
Finest level logging with variable number of arguments using format as in System.String.Format.
Public methodStatic memberInfo
Info level logging with variable number of arguments using format as in System.String.Format.
Public methodStatic memberInitOverloaded.
Public methodStatic memberLevel
Returns the current log level.
Public methodStatic memberLogCatch
Logs both a message and a caught exception.
Public methodStatic memberLogFileName
Returns the name of the current log file. NOTE: This function is for debugging only, as it is not completely thread-safe!
Public methodStatic memberLogThrow
Logs both a message and a thrown exception.
Public methodStatic memberSetLevel
Sets the current log level.
Public methodStatic memberWarning
Warning level logging with variable number of arguments using format as in System.String.Format.
Public methodStatic memberWrite
Logs a message at the given level.

See Also