Class Logger
java.lang.Object
de.mid.innovator.ui.Logger
The class provides a logger which redirects the logging messages.
If Slf4J Logback is available, it is used. If Log4J is available, it
is used. Else JUL is used.
It respects the logger specific configuration if one is provided.
Else the log messages will be sent to a file in the sub directory
"innovator/inojava/logs" of the temporary folder of Java
(property "java.io.tmpdir").
For Log4J and JUL the file name is
inojava_(date)_(time).log
For Logback the file name is
inojava_(date)_(number).log
The default log level is ERROR respective SEVERE.
If you want to use another level, set the property
"java.util.logging.Logger.level" or "de.mid.innovator.ui.log_level".
- Version:
- 11.5.1
- Author:
- jmback
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Logger
-
-
Method Details
-
log
-
log
-
log
-
log
-
log
-
log
-
exception
-
error
-
warn
-
warning
-
info
-
debug
-
trace
-
isTraceEnabled
public boolean isTraceEnabled() -
isDebugEnabled
public boolean isDebugEnabled() -
setLevel
-
addHandler
-