public interface MPRMLogService extends LogService
LOG_DEBUG, LOG_ERROR, LOG_INFO, LOG_WARNING| Modifier and Type | Method and Description |
|---|---|
void |
flush()
Forces all buffers to flush their contents in the persistent storage.
|
void |
log(int level,
java.lang.String gatewayId,
java.lang.String message)
Deprecated.
As of mPRM 4.0, the preferred way is to use
log(int, String, String, String) method. |
void |
log(int level,
java.lang.String gatewayId,
java.lang.String message,
long time)
Deprecated.
As of mPRM 4.0, the preferred way is to use
log(int, String, String, String, long) method. |
void |
log(int level,
java.lang.String deviceType,
java.lang.String deviceId,
java.lang.String message)
Adds a log message related to a given device.
|
void |
log(int level,
java.lang.String deviceType,
java.lang.String deviceId,
java.lang.String message,
long time)
Adds a log message related to a given gateway with explicitly given time
of its creation.
|
void |
log(int level,
java.lang.String deviceType,
java.lang.String deviceId,
java.lang.String message,
long time,
java.lang.String source)
Adds a log message related to a given gateway with explicitly given time
of its creation and information about the source (for example bundle information).
|
log, log, log, logvoid log(int level,
java.lang.String gatewayId,
java.lang.String message)
log(int, String, String, String) method.level - The severity of the message.gatewayId - Id of the OSGi Device this log message is related to.
It is a system related log message if null
is passed as value of this parameter.message - The log message.void log(int level,
java.lang.String gatewayId,
java.lang.String message,
long time)
log(int, String, String, String, long) method.level - The severity of the message.gatewayId - Id of the OSGi Device this log message is related to.
It is a system related log message if null
is passed as value of this parameter.message - The log message.time - Explicitly specified time of log message creation.void log(int level,
java.lang.String deviceType,
java.lang.String deviceId,
java.lang.String message)
level - The severity of the message.deviceType - Type of the device this log message is related to.
It is a system related log message if null
is passed as value of this parameter.deviceId - Id of the device this log message is related to.
It is a system related log message if null
is passed as value of this parameter.message - The log message.void log(int level,
java.lang.String deviceType,
java.lang.String deviceId,
java.lang.String message,
long time)
level - - The severity of the message.deviceType - Type of the device this log message is related to.
It is a system related log message if null
is passed as value of this parameter.deviceId - - Id of the device this log message is related to.
It is a system related log message if null
is passed as value of this parameter.message - - The log message.time - - Explicitly specified time of log message creation.void flush()
void log(int level,
java.lang.String deviceType,
java.lang.String deviceId,
java.lang.String message,
long time,
java.lang.String source)
level - - The severity of the message.deviceType - Type of the device this log message is related to.
It is a system related log message if null
is passed as value of this parameter.deviceId - - Id of the device this log message is related to.
It is a system related log message if null
is passed as value of this parameter.message - - The log message.time - - Explicitly specified time of log message creation.source - - information about the sourceCopyright © 2019 Bosch Software Innovations GmbH. All Rights Reserved.