|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbr.ufsc.tlm.j2me.logging.Logger
Created on Aug 26, 2003
Method Summary | |
void |
clearLog()
Call to clear the log, which must be closed. |
static void |
closeLog()
Call to close the log. |
void |
fine(java.lang.String msg)
Log a message with the FINE level. |
Level |
getLevel()
Get this logger's level, which may be null. |
static Logger |
getLogger(java.lang.String name)
Find the logger registered with a specific name. |
java.lang.String |
getName()
Return the logger's name. |
Logger |
getParent()
Return the logger's parent. |
void |
info(java.lang.String msg)
Log a message with the INFO level. |
boolean |
isLoggable(Level test)
Test whether the given level is loggable according to this Logger. |
void |
log(Level level,
java.lang.String msg)
Log a message using the given level. |
void |
log(Level level,
java.lang.String msg,
java.lang.Throwable e)
Log a message using the given level including optional exception information. |
void |
setLevel(Level level)
Sets the logger's level. |
static void |
setLogToRS(boolean log)
Whether or not to log to the record store. |
static void |
setLogToStdout(boolean log)
Whether or not to log to System.out. |
void |
setParent(Logger parent)
Sets the logger's parent. |
void |
severe(java.lang.String msg)
Log a message with the SEVERE level. |
void |
warning(java.lang.String msg)
Log a message with the WARNING level. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void closeLog()
public static Logger getLogger(java.lang.String name)
public static void setLogToRS(boolean log)
public static void setLogToStdout(boolean log)
public void clearLog() throws javax.microedition.rms.RecordStoreException
javax.microedition.rms.RecordStoreException
public void fine(java.lang.String msg)
public Level getLevel()
public java.lang.String getName()
public Logger getParent()
public void info(java.lang.String msg)
public boolean isLoggable(Level test)
public void log(Level level, java.lang.String msg)
public void log(Level level, java.lang.String msg, java.lang.Throwable e)
public void setLevel(Level level)
public void setParent(Logger parent)
public void severe(java.lang.String msg)
public void warning(java.lang.String msg)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |