|
Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.5) Part Number E13941-05 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Deprecated public interface Logger
The Logger interface defines application logging functions. A Logger
can be obtained from a com.bea.control.JwsContext
or
com.bea.control.ControlContext
instance.
Logging may be enabled at one of four levels: "debug" (lowest level,
results in highest volume of output), "info", "warn" or
"error" (highest level, results in least output). Messages emitted
below the current logging level are not logged.
The implementation uses WebLogic Server's NonCatalogLogger
Method Summary | |
---|---|
void |
debug(String message)
Deprecated. Emit a "debug" level message. |
void |
debug(String message,
Throwable throwable)
Deprecated. Emit a "debug" level message with an associated Throwable . |
void |
error(String message)
Deprecated. Emit a "error" level message. |
void |
error(String message,
Throwable throwable)
Deprecated. Emit a "error" level message with an associated Throwable . |
void |
info(String message)
Deprecated. Emit a "info" level message. |
void |
info(String message,
Throwable throwable)
Deprecated. Emit a "info" level message with an associated Throwable . |
boolean |
isDebugEnabled()
Deprecated. returns true if "debug" level logging is enabled. |
boolean |
isErrorEnabled()
Deprecated. returns true if "error" level logging is enabled. |
boolean |
isInfoEnabled()
Deprecated. returns true if "info" level logging is enabled. |
boolean |
isWarnEnabled()
Deprecated. returns true if "warn" level logging is enabled. |
void |
warn(String message)
Deprecated. Emit a "warn" level message. |
void |
warn(String message,
Throwable throwable)
Deprecated. Emit a "warn" level message with an associated Throwable . |
Method Detail |
---|
void debug(String message)
message
- the message to write to the log.void debug(String message, Throwable throwable)
Throwable
.
message
- the message to write to the log.throwable
- the Throwable
(typically an Exception
) to write to the log.void info(String message)
message
- the message to write to the log.void info(String message, Throwable throwable)
Throwable
.
message
- the message to write to the log.throwable
- the Throwable
(typically an Exception
) to write to the log.void warn(String message)
message
- the message to write to the log.void warn(String message, Throwable throwable)
Throwable
.
message
- the message to write to the log.throwable
- the Throwable
(typically an Exception
) to write to the log.void error(String message)
message
- the message to write to the log.void error(String message, Throwable throwable)
Throwable
.
message
- the message to write to the log.throwable
- the Throwable
(typically an Exception
) to write to the log.boolean isDebugEnabled()
boolean isInfoEnabled()
boolean isWarnEnabled()
boolean isErrorEnabled()
|
Copyright 1996, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.5) Part Number E13941-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |