| Package | Description |
|---|---|
| com.gemstone.persistence.logging |
This package contains classes that implement a logging
mechanism similar to the one in JDK
1.4.
|
| Modifier and Type | Field and Description |
|---|---|
static Level |
Level.ALL |
static Level |
Level.CONFIG |
static Level |
Level.FINE |
static Level |
Level.FINER |
static Level |
Level.FINEST |
static Level |
Level.INFO |
static Level |
Level.OFF |
static Level |
Level.SEVERE |
static Level |
Level.WARNING |
| Modifier and Type | Method and Description |
|---|---|
Level |
Handler.getLevel()
Returns the level below which this handler ignores
|
Level |
LogRecord.getLevel()
Returns the level that the message should be logged at
|
Level |
Logger.getLevel()
Returns the log level specifying which messages will be logged by
this logger.
|
static Level |
Level.parse(String name)
Creates a new
Level from a string. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Logger.isLoggable(Level msgLevel)
Check if a message of the given level would actually be logged by
this logger.
|
void |
Logger.log(Level msgLevel,
String msg)
Logs a message
|
void |
Logger.log(Level msgLevel,
String msg,
Object[] params)
Log a message, with an array of object arguments.
|
void |
Logger.log(Level msgLevel,
String sourceClass,
String sourceMethod,
String msg)
Log a message, specifying source class and method.
|
void |
Logger.log(Level msgLevel,
String sourceClass,
String sourceMethod,
String msg,
Object[] params)
Log a message, specifying source class and method, with an
array of object arguments.
|
void |
Logger.log(Level msgLevel,
String sourceClass,
String sourceMethod,
String msg,
Throwable thrown)
Log a message, specifying source class and method, with
associated Throwable information.
|
void |
Logger.log(Level msgLevel,
String msg,
Throwable thrown)
Log a message, with associated Throwable information.
|
void |
Handler.setLevel(Level level)
Sets the level below which this handler ignores
|
void |
LogRecord.setLevel(Level level)
Sets the level at which the message id logged
|
void |
Logger.setLevel(Level level)
Sets the log level specifying which messages will be logged by
this logger.
|
| Constructor and Description |
|---|
LogRecord(Level level,
String message)
Creates a new
LogRecord with the given level and
message. |
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.