public interface LogService
stderr.| Modifier and Type | Method and Description |
|---|---|
void |
debug(java.lang.Object site,
java.util.function.Consumer<java.io.PrintWriter> messageWriter)
Logs a debug message.
|
void |
error(java.lang.Object site,
java.util.function.Consumer<java.io.PrintWriter> messageWriter)
Logs an error.
|
void |
info(java.lang.Object site,
java.util.function.Consumer<java.io.PrintWriter> messageWriter)
Logs an informational message.
|
void |
warn(java.lang.Object site,
java.util.function.Consumer<java.io.PrintWriter> messageWriter)
Logs a warning.
|
void debug(java.lang.Object site,
java.util.function.Consumer<java.io.PrintWriter> messageWriter)
site - where the event occurred or the object the event is
associated to.messageWriter - writes the content of the log message.java.lang.NullPointerException - if any argument is null.void info(java.lang.Object site,
java.util.function.Consumer<java.io.PrintWriter> messageWriter)
site - where the event occurred or the object the event is
associated to.messageWriter - writes the content of the log message.java.lang.NullPointerException - if any argument is null.void warn(java.lang.Object site,
java.util.function.Consumer<java.io.PrintWriter> messageWriter)
site - where the event occurred or the object the event is
associated to.messageWriter - writes the content of the log message.java.lang.NullPointerException - if any argument is null.void error(java.lang.Object site,
java.util.function.Consumer<java.io.PrintWriter> messageWriter)
site - where the event occurred or the object the event is
associated to.messageWriter - writes the content of the log message.java.lang.NullPointerException - if any argument is null.