|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ReactorLogTarget
Defines the API used by the Reaction package to submit log messages to a
suitable log service. For example, standard POJO environments can use this
interface to wrap java.util.logging and OSGi environments can
use it to wrap org.osgi.service.log . Note that the log levels
are intentionally chosen to match those used by the OSGi logging service.
| Field Summary | |
|---|---|
static int |
LOG_DEBUG
Specifies the debug message log level (severity 4). |
static int |
LOG_ERROR
Specifies the error message log level (severity 1). |
static int |
LOG_INFO
Specifies the informational message log level (severity 3). |
static int |
LOG_WARNING
Specifies the warning message log level (severity 2). |
| Method Summary | |
|---|---|
void |
log(int level,
java.lang.String msg)
Logs a message string at the specified severity level. |
void |
log(int level,
java.lang.String msg,
java.lang.Throwable thrown)
Logs message string and accompanying exception information at the specified severity level. |
| Field Detail |
|---|
static final int LOG_ERROR
static final int LOG_WARNING
static final int LOG_INFO
static final int LOG_DEBUG
| Method Detail |
|---|
void log(int level,
java.lang.String msg)
level - This is the severity level at which the message should be logged.msg - This is the message string which should be included in the log
file.
void log(int level,
java.lang.String msg,
java.lang.Throwable thrown)
level - This is the severity level at which the message should be logged.msg - This is the message string which should be included in the log
file.thrown - This is the exception which should be logged with the accompanying
message.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||