|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.perf.log.app.logger.AppLoggerImpl
public class AppLoggerImpl
Constructor Summary | |
---|---|
AppLoggerImpl(java.lang.String loggerName)
|
Method Summary | |
---|---|
void |
debug(java.lang.String msg)
Log a message at the DEBUG level. |
void |
debug(java.lang.String msg,
java.lang.Throwable t)
Log an exception (throwable) at the DEBUG level with an accompanying message. |
void |
error(java.lang.String msg)
Log a message at the ERROR level. |
void |
error(java.lang.String msg,
java.lang.Throwable t)
Log an exception (throwable) at the ERROR level with an accompanying message. |
void |
fine(java.lang.String msg)
Log a message at the fine level. |
void |
fine(java.lang.String msg,
java.lang.Throwable t)
Log an exception (throwable) at the fine level with an accompanying message. |
void |
finest(java.lang.String msg)
Log a message at the finest level. |
void |
finest(java.lang.String msg,
java.lang.Throwable t)
Log an exception (throwable) at the FINEST level with an accompanying message. |
static java.lang.String |
getLogDestination()
|
static java.lang.String |
getLogFileInitialLevel()
|
static int |
getLogFileMaxSize()
|
static java.lang.String |
getLogFileName()
|
static int |
getLogFileNumToKeep()
|
static java.lang.String |
getLogFileRootDir()
|
java.lang.String |
getLoggerName()
|
static java.lang.String |
getLogRootDirForThisJVM()
|
void |
info(java.lang.String msg)
Log a message at the INFO level. |
void |
info(java.lang.String msg,
java.lang.Throwable t)
Log an exception (throwable) at the INFO level with an accompanying message. |
static boolean |
isUseAsynchronousLogging()
|
void |
setLevel(java.util.logging.Level level)
|
static void |
setLogDestination(java.lang.String logDestination)
|
static void |
setLogFileInitialLevel(java.lang.String logFileInitialLevel)
|
static void |
setLogFileMaxSize(int inLogFileMaxSize)
|
static void |
setLogFileName(java.lang.String inLogFileName)
|
static void |
setLogFileNumToKeep(int inLogFileNumToKeep)
|
static void |
setLogFileRootDir(java.lang.String inLogFileRootDir)
|
void |
setLoggerName(java.lang.String loggerName)
|
static void |
setUseAsynchronousLogging(boolean inUseAsynchronousLogging)
|
void |
severe(java.lang.String msg)
Log a message at the SEVERE level. |
void |
severe(java.lang.String msg,
java.lang.Throwable t)
Log an exception (throwable) at the SEVERE level with an accompanying message. |
void |
trace(java.lang.String msg)
Log a message at the TRACE level. |
void |
trace(java.lang.String msg,
java.lang.Throwable t)
Log an exception (throwable) at the TRACE level with an accompanying message. |
void |
warn(java.lang.String msg)
Log a message at the WARN level. |
void |
warn(java.lang.String msg,
java.lang.Throwable t)
Log an exception (throwable) at the WARN level with an accompanying message. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AppLoggerImpl(java.lang.String loggerName)
Method Detail |
---|
public void debug(java.lang.String msg)
Logger
debug
in interface Logger
msg
- the message string to be loggedpublic void debug(java.lang.String msg, java.lang.Throwable t)
Logger
debug
in interface Logger
msg
- the message accompanying the exceptiont
- the exception (throwable) to logpublic void error(java.lang.String msg)
Logger
error
in interface Logger
msg
- the message string to be loggedpublic void error(java.lang.String msg, java.lang.Throwable t)
Logger
error
in interface Logger
msg
- the message accompanying the exceptiont
- the exception (throwable) to logpublic void info(java.lang.String msg)
Logger
info
in interface Logger
msg
- the message string to be loggedpublic void info(java.lang.String msg, java.lang.Throwable t)
Logger
info
in interface Logger
msg
- the message accompanying the exceptiont
- the exception (throwable) to logpublic void trace(java.lang.String msg)
Logger
trace
in interface Logger
public void trace(java.lang.String msg, java.lang.Throwable t)
Logger
trace
in interface Logger
msg
- the message accompanying the exceptiont
- the exception (throwable) to logpublic void warn(java.lang.String msg)
Logger
warn
in interface Logger
msg
- the message string to be loggedpublic void warn(java.lang.String msg, java.lang.Throwable t)
Logger
warn
in interface Logger
msg
- the message accompanying the exceptiont
- the exception (throwable) to logpublic java.lang.String getLoggerName()
public void setLoggerName(java.lang.String loggerName)
setLoggerName
in interface Logger
public void setLevel(java.util.logging.Level level)
setLevel
in interface Logger
public static java.lang.String getLogFileRootDir()
public static java.lang.String getLogRootDirForThisJVM()
public static void setLogFileRootDir(java.lang.String inLogFileRootDir)
public static int getLogFileNumToKeep()
public static void setLogFileNumToKeep(int inLogFileNumToKeep)
public static java.lang.String getLogFileName()
public static void setLogFileName(java.lang.String inLogFileName)
public static int getLogFileMaxSize()
public static void setLogFileMaxSize(int inLogFileMaxSize)
public static java.lang.String getLogFileInitialLevel()
public static void setLogFileInitialLevel(java.lang.String logFileInitialLevel)
public static java.lang.String getLogDestination()
public static void setLogDestination(java.lang.String logDestination)
public void fine(java.lang.String msg)
Logger
fine
in interface Logger
public void fine(java.lang.String msg, java.lang.Throwable t)
Logger
fine
in interface Logger
msg
- the message accompanying the exceptiont
- the exception (throwable) to logpublic void finest(java.lang.String msg)
Logger
finest
in interface Logger
msg
- the message string to be loggedpublic void finest(java.lang.String msg, java.lang.Throwable t)
Logger
finest
in interface Logger
msg
- the message accompanying the exceptiont
- the exception (throwable) to logpublic void severe(java.lang.String msg)
Logger
severe
in interface Logger
msg
- the message string to be loggedpublic void severe(java.lang.String msg, java.lang.Throwable t)
Logger
severe
in interface Logger
msg
- the message accompanying the exceptiont
- the exception (throwable) to logpublic static boolean isUseAsynchronousLogging()
public static void setUseAsynchronousLogging(boolean inUseAsynchronousLogging)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |