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_BY_SOURCE_PROPERTY, LOG_LEVEL_PROPERTY, NONE, TRACE, WARN
Constructor and Description |
---|
StderrLogService() |
Modifier and Type | Method and Description |
---|---|
protected void |
messageLogged(LogMessage message) |
void |
setPrintStreams(Function<Integer,PrintStream> levelToStream) |
addLogListener, alwaysLog, getLevel, getPrefix, getSource, notifyListeners, removeLogListener, setLevel, setLevel, setLevelForLogger, subLogger
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
public void setPrintStreams(Function<Integer,PrintStream> levelToStream)
protected void messageLogged(LogMessage message)
messageLogged
in class AbstractLogService
Copyright © 2015–2022 SciJava. All rights reserved.