public interface LearnLogger extends Logger
ROOT_LOGGER_NAME
Modifier and Type | Method and Description |
---|---|
static LearnLogger |
getLogger(Class<?> clazz)
Convenience method for easing the common practice of using a class name as the name for the logger.
|
static LearnLogger |
getLogger(String name)
get an instance of a logger for name. assumes that there is no ordinary logger of the same name.
|
default void |
logConfig(String config)
logs setup details.
|
default void |
logCounterexample(String ce)
log counterexample.
|
default void |
logDataStructure(Object o)
log a data structure.
|
default void |
logEvent(String desc)
logs an event.
|
default void |
logModel(Object o)
log a model.
|
default void |
logPhase(String phase)
logs a learning phase at level INFO.
|
default void |
logProfilingInfo(StatisticData profiling)
log a piece of profiling info.
|
default void |
logQuery(String phase)
logs a learning query at level INFO.
|
default void |
logStatistic(StatisticData statistics)
log statistic info.
|
default void |
logSystem(String msg)
logs a system message at level INFO.
|
debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, error, error, error, error, error, error, error, error, error, error, getName, info, info, info, info, info, info, info, info, info, info, isDebugEnabled, isDebugEnabled, isErrorEnabled, isErrorEnabled, isInfoEnabled, isInfoEnabled, isTraceEnabled, isTraceEnabled, isWarnEnabled, isWarnEnabled, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn
static LearnLogger getLogger(Class<?> clazz)
LearnLogger.getLogger(clazz.getName())
clazz
- the class from which to retrieve the namestatic LearnLogger getLogger(String name)
default void logSystem(String msg)
default void logPhase(String phase)
default void logQuery(String phase)
default void logConfig(String config)
default void logCounterexample(String ce)
default void logEvent(String desc)
default void logProfilingInfo(StatisticData profiling)
default void logStatistic(StatisticData statistics)
default void logModel(Object o)
default void logDataStructure(Object o)
Copyright © 2019. All rights reserved.