-
- All Known Implementing Classes:
SystemLogWriter
- Enclosing class:
- Log
public static interface Log.WriterThe log writer.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisDebugEnabled()Returns whether or not debug messages will be written.voidwrite(Log.Level level, Throwable thrown, String message, Object... args)Writes the message and throwable if at or above the given level.
-
-
-
Method Detail
-
write
void write(Log.Level level, Throwable thrown, String message, Object... args)
Writes the message and throwable if at or above the given level.- Parameters:
level- The level.thrown- The throwable. May benull.message- The message.args- The message args.
-
isDebugEnabled
boolean isDebugEnabled()
Returns whether or not debug messages will be written.- Returns:
trueif enabled.
-
-