public interface DistributedLogListener
LogUtils
.Modifier and Type | Field and Description |
---|---|
static int |
LOG_LEVEL_DEBUG |
static int |
LOG_LEVEL_ERROR |
static int |
LOG_LEVEL_INFO |
static int |
LOG_LEVEL_TRACE |
static int |
LOG_LEVEL_WARN |
static final int LOG_LEVEL_TRACE
static final int LOG_LEVEL_DEBUG
static final int LOG_LEVEL_INFO
static final int LOG_LEVEL_WARN
static final int LOG_LEVEL_ERROR
void log(PeerCard origin, int logLevel, String module, String pkg, String cls, String method, Object[] msgPart, String t)
origin
- the peer on which the event occurred.logLevel
- the log level (trace, debug, info, warn, or error)module
- the name of the module that contains the class that intends to
generate the log messagepkg
- the name of the package that contains the class that intends
to generate the log messagecls
- the name of the class that intends to generate the log messagemethod
- The name of the method in the above Java class that intends to
generate the log messagemsgPart
- An array of strings and other objects that should be
concatenated using String.valueOf(Object)
in
order to construct the log messaget
- An optional Throwable
object, serialized as
String, like an exception that might have caused the log
requestCopyright © 2015 universAAL Consortium. All rights reserved.