org.scijava.log.slf4j
Class SLF4JLogService
java.lang.Object
org.scijava.AbstractContextual
org.scijava.plugin.AbstractRichPlugin
org.scijava.service.AbstractService
org.scijava.log.slf4j.SLF4JLogService
- All Implemented Interfaces:
- Comparable<Prioritized>, Contextual, Disposable, LogService, HasPluginInfo, RichPlugin, SciJavaPlugin, Prioritized, SciJavaService, Service
public final class SLF4JLogService
- extends AbstractService
- implements LogService
Logging service implemented using SLF4J.
- Author:
- Curtis Rueden
SLF4JLogService
public SLF4JLogService()
getLogger
public org.slf4j.Logger getLogger()
setLogger
public void setLogger(org.slf4j.Logger logger)
debug
public void debug(Object msg)
- Specified by:
debug in interface LogService
debug
public void debug(Throwable t)
- Specified by:
debug in interface LogService
debug
public void debug(Object msg,
Throwable t)
- Specified by:
debug in interface LogService
error
public void error(Object msg)
- Specified by:
error in interface LogService
error
public void error(Throwable t)
- Specified by:
error in interface LogService
error
public void error(Object msg,
Throwable t)
- Specified by:
error in interface LogService
info
public void info(Object msg)
- Specified by:
info in interface LogService
info
public void info(Throwable t)
- Specified by:
info in interface LogService
info
public void info(Object msg,
Throwable t)
- Specified by:
info in interface LogService
trace
public void trace(Object msg)
- Specified by:
trace in interface LogService
trace
public void trace(Throwable t)
- Specified by:
trace in interface LogService
trace
public void trace(Object msg,
Throwable t)
- Specified by:
trace in interface LogService
warn
public void warn(Object msg)
- Specified by:
warn in interface LogService
warn
public void warn(Throwable t)
- Specified by:
warn in interface LogService
warn
public void warn(Object msg,
Throwable t)
- Specified by:
warn in interface LogService
isDebug
public boolean isDebug()
- Specified by:
isDebug in interface LogService
isError
public boolean isError()
- Specified by:
isError in interface LogService
isInfo
public boolean isInfo()
- Specified by:
isInfo in interface LogService
isTrace
public boolean isTrace()
- Specified by:
isTrace in interface LogService
isWarn
public boolean isWarn()
- Specified by:
isWarn in interface LogService
getLevel
public int getLevel()
- Specified by:
getLevel in interface LogService
setLevel
public void setLevel(int level)
- Specified by:
setLevel in interface LogService
initialize
public void initialize()
- Specified by:
initialize in interface Service- Overrides:
initialize in class AbstractService
Copyright © 2013–2014 SciJava. All rights reserved.