org.scijava.log
Interface LogService
- All Superinterfaces:
- Comparable<Prioritized>, Contextual, Disposable, HasPluginInfo, Prioritized, RichPlugin, SciJavaPlugin, SciJavaService, Service
- All Known Implementing Classes:
- AbstractLogService, StderrLogService
public interface LogService
- extends SciJavaService
Interface for the logging service.
The service supports five common logging levels: ERROR
,
WARN
, INFO
, TRACE
and DEBUG
. It provides
methods for logging messages, exception stack traces and combinations of the
two.
- Author:
- Curtis Rueden
LOG_LEVEL_PROPERTY
static final String LOG_LEVEL_PROPERTY
- System property to set for overriding the default logging level.
- See Also:
- Constant Field Values
NONE
static final int NONE
- See Also:
- Constant Field Values
ERROR
static final int ERROR
- See Also:
- Constant Field Values
WARN
static final int WARN
- See Also:
- Constant Field Values
INFO
static final int INFO
- See Also:
- Constant Field Values
DEBUG
static final int DEBUG
- See Also:
- Constant Field Values
TRACE
static final int TRACE
- See Also:
- Constant Field Values
debug
void debug(Object msg)
debug
void debug(Throwable t)
debug
void debug(Object msg,
Throwable t)
error
void error(Object msg)
error
void error(Throwable t)
error
void error(Object msg,
Throwable t)
info
void info(Object msg)
info
void info(Throwable t)
info
void info(Object msg,
Throwable t)
trace
void trace(Object msg)
trace
void trace(Throwable t)
trace
void trace(Object msg,
Throwable t)
warn
void warn(Object msg)
warn
void warn(Throwable t)
warn
void warn(Object msg,
Throwable t)
isDebug
boolean isDebug()
isError
boolean isError()
isInfo
boolean isInfo()
isTrace
boolean isTrace()
isWarn
boolean isWarn()
getLevel
int getLevel()
setLevel
void setLevel(int level)
Copyright © 2009–2014 SciJava. All rights reserved.