public class StderrLogService extends AbstractLogService
LogService
using the standard error stream.
Actually, this service is somewhat misnamed now, since it prints WARN
and ERROR
messages to stderr, but messages at lesser severities to
stdout.
DEBUG, ERROR, INFO, LOG_LEVEL_PROPERTY, NONE, TRACE, WARN
Constructor and Description |
---|
StderrLogService() |
Modifier and Type | Method and Description |
---|---|
protected void |
log(int level,
Object msg) |
protected void |
log(String message)
Prints a message to stderr.
|
protected void |
log(Throwable t)
Prints an exception to stderr.
|
debug, debug, debug, error, error, error, getLevel, getPrefix, info, info, info, isDebug, isError, isInfo, isTrace, isWarn, log, setLevel, setLevel, trace, trace, trace, warn, warn, warn
getContext, setContext, toString
getInfo, getPriority, setInfo, setPriority
context
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
initialize, registerEventHandlers
getIdentifier, log
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
getVersion
dispose
protected void log(int level, Object msg)
log
in class AbstractLogService
protected void log(String message)
log
in class AbstractLogService
message
- the messageprotected void log(Throwable t)
log
in class AbstractLogService
t
- the exceptionCopyright © 2009–2017 SciJava. All rights reserved.