-
- All Known Implementing Classes:
CliOutLogger,CliOutNone
public interface CliOutInterface to log messages andexceptions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisSuppressed()voidlog(Object... messages)voidlog(String message)voidlog(String message, Throwable exception)voidlog(Throwable exception)voidlogFormat(String format, Object... args)Likelog(String)but with dynamic arguments.
-
-
-
Method Detail
-
log
void log(String message)
- Parameters:
message- the message to print.
-
log
void log(Object... messages)
- Parameters:
messages- the array of messages to print in a single line.
-
logFormat
void logFormat(String format, Object... args)
Likelog(String)but with dynamic arguments.- Parameters:
format- - seeString.format(String, Object...).args- - seeString.format(String, Object...).
-
log
void log(String message, Throwable exception)
- Parameters:
message- the error message to print.exception- theThrowablethat occurred ornullfor none.
-
isSuppressed
boolean isSuppressed()
- Returns:
trueif thisCliOutis suppressed and all methods will have no effect,falseotherwise.
-
-