Package org.yamcs.logging
Class Log
java.lang.Object
org.yamcs.logging.Log
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Send a log message at DEBUG level.void
Send a log message at DEBUG level using SLF4J-style formatting.void
Send a log message at DEBUG level.void
Send a log message at ERROR level.void
Send a log message at ERROR level using SLF4J-style formatting.void
Send a log message at ERROR level.static void
forceStandardStreams
(Level level) Force all log message to be printed on stdout instead of the configured logger.void
Send a log message at INFO level.void
Send a log message at INFO level using SLF4J-style formatting.void
Send a log message at INFO level.boolean
boolean
protected void
void
setContext
(String context) void
Send a log message at TRACE level.void
Send a log message at TRACE level using SLF4J-style formatting.void
Send a log message at TRACE level.void
Send a log message at WARN level.void
Send a log message at WARN level using SLF4J-style formatting.void
Send a log message at WARN level.
-
Constructor Details
-
Log
-
Log
-
-
Method Details
-
getJulLogger
-
setContext
-
info
Send a log message at INFO level. -
info
Send a log message at INFO level. -
info
Send a log message at INFO level using SLF4J-style formatting. The last argument may be aThrowable
. -
isDebugEnabled
public boolean isDebugEnabled() -
debug
Send a log message at DEBUG level. -
debug
Send a log message at DEBUG level. -
debug
Send a log message at DEBUG level using SLF4J-style formatting. The last argument may be aThrowable
. -
isTraceEnabled
public boolean isTraceEnabled() -
trace
Send a log message at TRACE level. -
trace
Send a log message at TRACE level. -
trace
Send a log message at TRACE level using SLF4J-style formatting. The last argument may be aThrowable
. -
warn
Send a log message at WARN level. -
warn
Send a log message at WARN level. -
warn
Send a log message at WARN level using SLF4J-style formatting. The last argument may be aThrowable
. -
error
Send a log message at ERROR level. -
error
Send a log message at ERROR level. -
error
Send a log message at ERROR level using SLF4J-style formatting. The last argument may be aThrowable
. -
log
-
forceStandardStreams
Force all log message to be printed on stdout instead of the configured logger. This may be of use for short tests and scripts.
-