Log Class |
Note: This API is now obsolete.
Namespace: GemStone.GemFire.Cache
The Log type exposes the following members.
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(LogLevel, String) |
Initializes the logging facility with the given level and filename.
|
![]() ![]() | Init(LogLevel, String, Int32) |
Initializes logging facility with given level, filename, and file size limit.
|
![]() ![]() | 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.
|
For any logged message the log file will contain:
A message always has a level. Logging levels are ordered. Enabling logging at a given level also enables logging at higher levels. The higher the level the more important and urgent the message.
The levels, in descending order of severity, are: