Replaced by LoggerFactory.
| Modifier and Type | Field and Description |
|---|---|
| public static final int | LOG_DEBUG
A debugging message (Value 4). |
| public static final int | LOG_ERROR
An error message (Value 1). |
| public static final int | LOG_INFO
An informational message (Value 3). |
| public static final int | LOG_WARNING
A warning message (Value 2). |
| Modifier and Type | Method and Description |
|---|---|
| public void | log(int
The severity of the message. This should be one of the
defined log levels but may be any integer that is interpreted
in a user defined way. level, String Human readable string describing the condition or
message)null.
Deprecated
Since 1.4. Replaced by
Logs a message.
Logger. See
LoggerFactory.
|
| public void | log(int
The severity of the message. This should be one of the
defined log levels but may be any integer that is interpreted
in a user defined way. level, String The human readable string describing the condition or
message, Throwable null.The exception that reflects the condition or
exception)null.
Deprecated
Since 1.4. Replaced by
Logs a message with an exception.
Logger. See
LoggerFactory.
|
| public void | log(ServiceReference<?>
The sr, int ServiceReference object of the service that this
message is associated with or null.The severity of the message. This should be one of the
defined log levels but may be any integer that is interpreted
in a user defined way. level, String Human readable string describing the condition or
message)null.
Deprecated
Since 1.4. Replaced by
Logs a message associated with a specific Logger. See
LoggerFactory.
ServiceReference
object.
|
| public void | log(ServiceReference<?>
The sr, int ServiceReference object of the service that this
message is associated with.The severity of the message. This should be one of the
defined log levels but may be any integer that is interpreted
in a user defined way. level, String Human readable string describing the condition or
message, Throwable null.The exception that reflects the condition or
exception)null.
Deprecated
Since 1.4. Replaced by
Logs a message with an exception associated and a
Logger. See
LoggerFactory.
ServiceReference object.
|
| LOG_DEBUG | back to summary |
|---|---|
| public static final int LOG_DEBUG
Deprecated Since 1.4. Replaced by A debugging message (Value 4). This log entry is used for problem determination and may be irrelevant to anyone but the bundle developer. | |
| LOG_ERROR | back to summary |
|---|---|
| public static final int LOG_ERROR
Deprecated Since 1.4. Replaced by An error message (Value 1). This log entry indicates the bundle or service may not be functional. | |
| LOG_INFO | back to summary |
|---|---|
| public static final int LOG_INFO
Deprecated Since 1.4. Replaced by An informational message (Value 3). This log entry may be the result of any change in the bundle or service and does not indicate a problem. | |
| LOG_WARNING | back to summary |
|---|---|
| public static final int LOG_WARNING
Deprecated Since 1.4. Replaced by A warning message (Value 2). This log entry indicates a bundle or service is still functioning but may experience problems in the future because of the warning condition. | |
| log | back to summary |
|---|---|
| public void log(int level, String message)
Deprecated Since 1.4. Replaced by Logs a message.
The
This method will log to the bundle's
The specified level is mapped to a
LogEntry#getLevel() must return the
specified level.
| |
| log | back to summary |
|---|---|
| public void log(int level, String message, Throwable exception)
Deprecated Since 1.4. Replaced by Logs a message with an exception.
The
This method will log to the bundle's
The specified level is mapped to a
LogEntry#getLevel() must return the
specified level.
| |
| log | back to summary |
|---|---|
| public void log(ServiceReference<?> sr, int level, String message)
Deprecated Since 1.4. Replaced by Logs a message associated with a specific
The
This method will log to the bundle's
The specified level is mapped to a
LogEntry#getLevel() must return the
specified level.
| |
| log | back to summary |
|---|---|
| public void log(ServiceReference<?> sr, int level, String message, Throwable exception)
Deprecated Since 1.4. Replaced by Logs a message with an exception associated and a
This method will log to the bundle's
The specified level is mapped to a
LogEntry#getLevel() must return the
specified level.
| |