public class Logger extends Object
Modifier and Type | Method and Description |
---|---|
void |
debug(String debuggingMessage)
Sends this message to the Debug channel (FINER level in JDK parlance)
|
void |
debug(String className,
String methodName,
Throwable th)
Sends this message to the Debug channel (FINER level in JDK parlance)
|
void |
debug(String debuggingMessage,
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(Throwable th)
Prints a throwable to stdout
|
void |
warning(String warningMessage)
Sends this message to the Debug channel (FINER level in JDK parlance)
|
void |
warning(String warningMessage,
Throwable th)
Sends this message to the Debug channel (FINER level in JDK parlance)
|
public static Logger getLogger()
public void debug(String debuggingMessage)
debuggingMessage
- The non-null message to log to the debug loggerpublic void debug(String debuggingMessage, Throwable th)
debuggingMessage
- The non-null message to log to the debug loggerpublic void warning(String warningMessage)
warningMessage
- The non-null message to log to the debug loggerpublic void warning(String warningMessage, Throwable th)
warningMessage
- The non-null message to log to the debug loggerpublic static void printThrowable(Throwable th)
th
- The throwable to printCopyright © 2009-2017, Oracle and/or its affiliates. All Rights Reserved.