|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.logging.Logger
jpl.mipl.pgs.utils.logging.DefaultLogger
LoggerFactory instead.
public class DefaultLogger
Purpose: An implementation of the java.util.logging.Logger class. Note: This class is not used with the new implementation and will be removed once MRO stops using it.
Copyright 2002, California Institute of Technology.
ALL RIGHTS RESERVED.
U.S. Government Sponsorship acknowledge.2004.
| Field Summary | |
|---|---|
static int |
DEBUG_LOG_LEVEL
Deprecated. |
static int |
ERROR_LOG_LEVEL
Deprecated. |
static int |
HIGHEST_LOG_LEVEL
Deprecated. |
| Fields inherited from class java.util.logging.Logger |
|---|
global |
| Constructor Summary | |
|---|---|
DefaultLogger(String name,
String resourceBundleName)
Deprecated. |
|
| Method Summary | |
|---|---|
void |
debug(String message)
Deprecated. |
void |
debug(String message,
Throwable t)
Deprecated. |
void |
error(String message)
Deprecated. |
void |
error(String message,
Throwable t)
Deprecated. |
Level |
int2level(int level)
Deprecated. Converts the integer parameter level to java.util.logging.Level |
void |
logMessage(int level,
String message)
Deprecated. Converts the integer parameter level to java.util.logging.Level and logs the message. |
void |
logMessage(int level,
String message,
Throwable t)
Deprecated. Converts the integer parameter level to java.util.logging.Level and logs the message. |
| Methods inherited from class java.util.logging.Logger |
|---|
addHandler, config, entering, entering, entering, exiting, exiting, fine, finer, finest, getAnonymousLogger, getAnonymousLogger, getFilter, getHandlers, getLevel, getLogger, getLogger, getName, getParent, getResourceBundle, getResourceBundleName, getUseParentHandlers, info, isLoggable, log, log, log, log, log, logp, logp, logp, logp, logrb, logrb, logrb, logrb, removeHandler, setFilter, setLevel, setParent, setUseParentHandlers, severe, throwing, warning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int HIGHEST_LOG_LEVEL
public static final int DEBUG_LOG_LEVEL
public static final int ERROR_LOG_LEVEL
| Constructor Detail |
|---|
public DefaultLogger(String name,
String resourceBundleName)
| Method Detail |
|---|
public void logMessage(int level,
String message,
Throwable t)
throws IllegalArgumentException
IllegalArgumentExceptionLogger.log(java.util.logging.Level,String,Throwable);
public void error(String message)
throws IllegalArgumentException
IllegalArgumentException
public void error(String message,
Throwable t)
throws IllegalArgumentException
IllegalArgumentException
public void debug(String message,
Throwable t)
throws IllegalArgumentException
IllegalArgumentException
public void debug(String message)
throws IllegalArgumentException
IllegalArgumentException
public void logMessage(int level,
String message)
throws IllegalArgumentException
IllegalArgumentExceptionLogger.log(java.util.logging.Level,String);
public Level int2level(int level)
throws IllegalArgumentException
IllegalArgumentException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||