|
jmce - 1_02 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.logging.Logger
jmce.util.Logger
public class Logger
Extension to java.util.logging.Logger to provide method for create logger using the class object and not the class name. Also at startup read the configuration files from the disk.
Field Summary | |
---|---|
static java.lang.String |
configuration
|
Fields inherited from class java.util.logging.Logger |
---|
global, GLOBAL_LOGGER_NAME |
Method Summary | |
---|---|
void |
fatal(java.lang.Exception ex)
|
void |
fine(java.lang.Exception ex)
|
static Logger |
getLogger(java.lang.Class clazz)
Return a logger for the specified class |
static Logger |
getLogger(java.lang.String name)
Return a logger for the specified class name |
void |
info(java.lang.Exception ex)
|
static void |
setConfiguration(java.lang.String s)
Set the file name for the logger configuration |
void |
warning(java.lang.Exception ex)
|
static void |
writeEx(java.lang.Throwable e)
Dump the strack trace after one exception. |
Methods inherited from class java.util.logging.Logger |
---|
addHandler, config, entering, entering, entering, exiting, exiting, fine, finer, finest, getAnonymousLogger, getAnonymousLogger, getFilter, getHandlers, getLevel, 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 java.lang.String configuration
Method Detail |
---|
public static Logger getLogger(java.lang.Class clazz)
public static Logger getLogger(java.lang.String name)
public void fine(java.lang.Exception ex)
public void info(java.lang.Exception ex)
public void warning(java.lang.Exception ex)
public void fatal(java.lang.Exception ex)
public static void setConfiguration(java.lang.String s)
public static void writeEx(java.lang.Throwable e)
|
jmce - 1_02 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |