final class LowLevelLogUtil
extends java.lang.Object
StatusLogger
.
Such classes cannot use StatusLogger as StatusLogger or SimpleLogger
depends
on them for initialization. Other framework classes should stick to using StatusLogger.Modifier and Type | Field and Description |
---|---|
private static java.io.PrintWriter |
writer |
Modifier | Constructor and Description |
---|---|
private |
LowLevelLogUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
log(java.lang.String message)
Logs the given message.
|
static void |
logException(java.lang.String message,
java.lang.Throwable exception) |
static void |
logException(java.lang.Throwable exception) |
static void |
setOutputStream(java.io.OutputStream out)
Sets the underlying OutputStream where exceptions are printed to.
|
static void |
setWriter(java.io.Writer writer)
Sets the underlying Writer where exceptions are printed to.
|
public static void log(java.lang.String message)
message
- the message to logpublic static void logException(java.lang.Throwable exception)
public static void logException(java.lang.String message, java.lang.Throwable exception)
public static void setOutputStream(java.io.OutputStream out)
out
- the OutputStream to log topublic static void setWriter(java.io.Writer writer)
writer
- the Writer to log to