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 methods.
Public Methods
| Name | Description | |
|---|---|---|
| Close |
Closes logging facility (until next init).
| |
| Config |
Config level logging with variable number of arguments using
format as in System.String.Format.
| |
| Debug |
Debug level logging with variable number of arguments using
format as in System.String.Format.
| |
| Enabled |
True if log messages at the given level are enabled.
| |
| Error |
Error level logging with variable number of arguments using
format as in System.String.Format.
| |
| Fine |
Fine level logging with variable number of arguments using
format as in System.String.Format.
| |
| Finer |
Finer level logging with variable number of arguments using
format as in System.String.Format.
| |
| Finest |
Finest level logging with variable number of arguments using
format as in System.String.Format.
| |
| Info |
Info level logging with variable number of arguments using
format as in System.String.Format.
| |
| Init | Overloaded. | |
| Level |
Returns the current log level.
| |
| LogCatch |
Logs both a message and a caught exception.
| |
| LogFileName |
Returns the name of the current log file.
NOTE: This function is for debugging only, as it is not completely
thread-safe!
| |
| LogThrow |
Logs both a message and a thrown exception.
| |
| SetLevel |
Sets the current log level.
| |
| Warning |
Warning level logging with variable number of arguments using
format as in System.String.Format.
| |
| Write |
Logs a message at the given level.
|
See Also
GemStone.GemFire.Cache Namespace