|
JBoss Logging I18n Tools 1.0.0.Beta7 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.logging.ToolLogger
public final class ToolLogger
A logger for logging messages for annotation processors.
| Method Summary | |
|---|---|
void |
debug(Element element,
String messageFormat,
Object... args)
Prints a formatted debug message if debugging is enabled. |
void |
debug(String messageFormat,
Object... args)
Prints a formatted debug message if debugging is enabled. |
void |
error(Element element,
Exception exception)
Prints an error message. |
void |
error(Element element,
Exception exception,
String messageFormat,
Object... args)
Prints an error message. |
void |
error(Element element,
String messageFormat,
Object... args)
Prints a formatted error message. |
void |
error(Exception exception)
Prints an error message. |
void |
error(Exception exception,
String messageFormat,
Object... args)
Prints an error message. |
void |
error(String messageFormat,
Object... args)
Prints a formatted error message. |
static ToolLogger |
getLogger(ProcessingEnvironment processingEnv)
Creates a new tool logger. |
boolean |
isDebugEnabled()
Returns true if debugging is enabled, otherwise false. |
void |
mandatoryWarning(Element element,
String messageFormat,
Object... args)
Prints a formatted warning message. |
void |
mandatoryWarning(String messageFormat,
Object... args)
Prints a formatted warning message. |
void |
note(Element element,
String messageFormat,
Object... args)
Prints a formatted note message. |
void |
note(String messageFormat,
Object... args)
Prints a formatted note message. |
void |
other(Element element,
String messageFormat,
Object... args)
Prints a formatted message that does not fit the other types. |
void |
other(String messageFormat,
Object... args)
Prints a formatted message that does not fit the other types. |
void |
warn(Element element,
String messageFormat,
Object... args)
Prints a formatted warning message. |
void |
warn(String messageFormat,
Object... args)
Prints a formatted warning message. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ToolLogger getLogger(ProcessingEnvironment processingEnv)
processingEnv - the processing environment
public boolean isDebugEnabled()
true if debugging is enabled, otherwise false.
It is not necessary to invoke this method before invoking debug
methods. The debug methods will only log messages if debugging is
enabled.
true if debugging is enabled, otherwise false.
public void note(String messageFormat,
Object... args)
messageFormat - the message format.args - the format arguments.
public void note(Element element,
String messageFormat,
Object... args)
element - the element to print with the note.messageFormat - the message format.args - the format arguments.
public void debug(String messageFormat,
Object... args)
messageFormat - the message format.args - the format arguments.
public void debug(Element element,
String messageFormat,
Object... args)
element - the element to print with the note.messageFormat - the message format.args - the format arguments.
public void warn(String messageFormat,
Object... args)
messageFormat - the message format.args - the format arguments.
public void warn(Element element,
String messageFormat,
Object... args)
element - the element that caused the warning.messageFormat - the message format.args - the format arguments.
public void mandatoryWarning(String messageFormat,
Object... args)
messageFormat - the message format.args - the format arguments.
public void mandatoryWarning(Element element,
String messageFormat,
Object... args)
element - the element that caused the warning.messageFormat - the message format.args - the format arguments.
public void error(String messageFormat,
Object... args)
messageFormat - the message format.args - the format arguments.
public void error(Element element,
String messageFormat,
Object... args)
messageFormat - the message format.element - the element that caused the warning.args - the format arguments.public void error(Exception exception)
exception - the cause of the error.
public void error(Exception exception,
String messageFormat,
Object... args)
exception - the cause of the error.messageFormat - the message format.args - the format arguments.
public void error(Element element,
Exception exception)
exception - the cause of the error.element - the element that caused the error.
public void error(Element element,
Exception exception,
String messageFormat,
Object... args)
exception - the cause of the error.messageFormat - the message format.element - the element that caused the warning.args - the format arguments.
public void other(String messageFormat,
Object... args)
messageFormat - the message format.args - the format arguments.
public void other(Element element,
String messageFormat,
Object... args)
element - the element to print with the note.messageFormat - the message format.args - the format arguments.
|
JBoss Logging I18n Tools 1.0.0.Beta7 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||