public class Logger
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
void |
debug(java.lang.String debuggingMessage)
Sends this message to the Debug channel (FINER level in JDK parlance)
|
void |
debug(java.lang.String className,
java.lang.String methodName,
java.lang.Throwable th)
Sends this message to the Debug channel (FINER level in JDK parlance)
|
static Logger |
getLogger()
Gets the singleton instance of the Logger
|
static void |
printThrowable(java.lang.Throwable th)
Prints a throwable to stdout
|
void |
warning(java.lang.String warningMessage)
Sends this message to the Debug channel (FINER level in JDK parlance)
|
public static Logger getLogger()
public void debug(java.lang.String debuggingMessage)
debuggingMessage - The non-null message to log to the debug loggerpublic void warning(java.lang.String warningMessage)
debuggingMessage - The non-null message to log to the debug loggerpublic static void printThrowable(java.lang.Throwable th)
th - The throwable to printpublic void debug(java.lang.String className,
java.lang.String methodName,
java.lang.Throwable th)
className - The name of the class where this was thrownmethodName - The name of the method where this was thrownth - The exception to logCopyright © 2013 Oracle Corporation. All Rights Reserved.