System.out
unless redirected by
the -logfile
option.
Modifier and Type | Method and Description |
---|---|
public default int | Returns: Returns thecurrently set message output level.
The default implementation of this method returns MSG_INFO .
|
public void | setEmacsMode(boolean
true if output is to be unadorned so that
emacs and other editors can parse files names, etc.Sets this logger to produce emacs (and other editor) friendly output. |
public void | setErrorPrintStream(PrintStream
The error stream for the logger.
Must not be err)null .Sets the output stream to which this logger is to send error messages. |
public void | setMessageOutputLevel(int
the logging level for the logger. level)Sets the highest level of message this logger should respond to. |
public void | setOutputPrintStream(PrintStream
The output stream for the logger.
Must not be output)null .Sets the output stream to which this logger is to send its output. |
getMessageOutputLevel | back to summary |
---|---|
public default int getMessageOutputLevel()
|
setEmacsMode | back to summary |
---|---|
public void setEmacsMode(boolean emacsMode) Sets this logger to produce emacs (and other editor) friendly output.
|
setErrorPrintStream | back to summary |
---|---|
public void setErrorPrintStream(PrintStream err) Sets the output stream to which this logger is to send error messages.
|
setMessageOutputLevel | back to summary |
---|---|
public void setMessageOutputLevel(int level) Sets the highest level of message this logger should respond to. Only messages with a message level lower than or equal to the given level should be written to the log.
Constants for the message levels are in the
|
setOutputPrintStream | back to summary |
---|---|
public void setOutputPrintStream(PrintStream output) Sets the output stream to which this logger is to send its output.
|