Package | Description |
---|---|
org.sormula.log |
Logging classes used by sormula.
|
Modifier and Type | Class and Description |
---|---|
class |
ConsoleSormulaLogger
A
SormulaLogger that logs to System.out . |
class |
EmptySormulaLogger
A
SormulaLogger that logs nothing. |
class |
JavaSormulaLogger
A
SormulaLogger that logs using java.util.logging Logger . |
class |
Log4jSormulaLogger
A
SormulaLogger that logs using log4j api. |
class |
Slf4jSormulaLogger
A
SormulaLogger that logs using the SLF4J logging facade library. |
Modifier and Type | Method and Description |
---|---|
static SormulaLogger |
SormulaLoggerFactory.getClassLogger()
Gets a logger with logical log name as package name of the caller
of this method.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.Class<? extends SormulaLogger> |
SormulaLoggerFactory.getLoggerClass()
Gets the logger class to use in
SormulaLoggerFactory.getClassLogger() . |
Modifier and Type | Method and Description |
---|---|
static void |
SormulaLoggerFactory.setLoggerClass(java.lang.Class<? extends SormulaLogger> loggerClass)
Sets the logger class to be used by Sormula.
|