|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectflex.messaging.log.Logger
The Logger class is used to log out information. It provides named
methods to log information out at the desired level. Each Logger
will log information out for a log category that is settable.
| Constructor Summary | |
Logger(String category)
Constructs a Logger instance that will log
information out to the specified category. |
|
| Method Summary | |
void |
debug(String message)
Logs out a debug message. |
void |
debug(String message,
Object[] parameters)
Logs out a debug message supporting positional parameter substitutions. |
void |
debug(String message,
Object[] parameters,
Throwable t)
Logs out a debug message supporting positional parameter substitutions and an associated Throwable. |
void |
debug(String message,
Throwable t)
Logs out a debug message associated with a Throwable. |
void |
error(String message)
Logs out an error message. |
void |
error(String message,
Object[] parameters)
Logs out an error message supporting positional parameter substitutions. |
void |
error(String message,
Object[] parameters,
Throwable t)
Logs out an error message supporting positional parameter substitutions and an associated Throwable. |
void |
error(String message,
Throwable t)
Logs out an error message associated with a Throwable. |
void |
fatal(String message)
Logs out a fatal message. |
void |
fatal(String message,
Object[] parameters)
Logs out a fatal message supporting positional parameter substitutions. |
void |
fatal(String message,
Object[] parameters,
Throwable t)
Logs out a fatal message supporting positional parameter substitutions and an associated Throwable. |
void |
fatal(String message,
Throwable t)
Logs out a fatal message associated with a Throwable. |
String |
getCategory()
Returns the category this Logger logs information for. |
void |
info(String message)
Logs out an info message. |
void |
info(String message,
Object[] parameters)
Logs out an info message supporting positional parameter substitutions. |
void |
info(String message,
Object[] parameters,
Throwable t)
Logs out an info message supporting positional parameter substitutions and an associated Throwable. |
void |
info(String message,
Throwable t)
Logs out an info message associated with a Throwable. |
void |
setCategory(String category)
Sets the category this Logger logs information for. |
void |
warn(String message)
Logs out a warn message. |
void |
warn(String message,
Object[] parameters)
Logs out a warn message supporting positional parameter substitutions. |
void |
warn(String message,
Object[] parameters,
Throwable t)
Logs out a warn message supporting positional parameter substitutions and an associated Throwable. |
void |
warn(String message,
Throwable t)
Logs out a warn message associated with a Throwable. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Logger(String category)
Logger instance that will log
information out to the specified category.
category - The category to log information for.| Method Detail |
public String getCategory()
Logger logs information for.
Logger logs information for.public void setCategory(String category)
Logger logs information for.
category - The category this Logger logs information for.public void debug(String message)
message - The message to log.
public void debug(String message,
Throwable t)
Throwable.
message - The message to log.t - The associated Throwable.
public void debug(String message,
Object[] parameters)
message - The message to log.parameters - Parameters to substitute into the message.
public void debug(String message,
Object[] parameters,
Throwable t)
Throwable.
message - The message to log.parameters - Parameters to substitute into the message.t - The associated Throwable.public void info(String message)
message - The message to log.
public void info(String message,
Throwable t)
Throwable.
message - The message to log.t - The associated Throwable.
public void info(String message,
Object[] parameters)
message - The message to log.parameters - Parameters to substitute into the message.
public void info(String message,
Object[] parameters,
Throwable t)
Throwable.
message - The message to log.parameters - Parameters to substitute into the message.t - The associated Throwable.public void warn(String message)
message - The message to log.
public void warn(String message,
Throwable t)
Throwable.
message - The message to log.t - The associated Throwable.
public void warn(String message,
Object[] parameters)
message - The message to log.parameters - Parameters to substitute into the message.
public void warn(String message,
Object[] parameters,
Throwable t)
Throwable.
message - The message to log.parameters - Parameters to substitute into the message.t - The associated Throwable.public void error(String message)
message - The message to log.
public void error(String message,
Throwable t)
Throwable.
message - The message to log.t - The associated Throwable.
public void error(String message,
Object[] parameters)
message - The message to log.parameters - Parameters to substitute into the message.
public void error(String message,
Object[] parameters,
Throwable t)
Throwable.
message - The message to log.parameters - Parameters to substitute into the message.t - The associated Throwable.public void fatal(String message)
message - The message to log.
public void fatal(String message,
Throwable t)
Throwable.
message - The message to log.t - The associated Throwable.
public void fatal(String message,
Object[] parameters)
message - The message to log.parameters - Parameters to substitute into the message.
public void fatal(String message,
Object[] parameters,
Throwable t)
Throwable.
message - The message to log.parameters - Parameters to substitute into the message.t - The associated Throwable.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||