public interface LogOutput
Each Class that wishes to log must call the Logger.get method with itself
as the only argument, or with an optional string value. This will return a new Logger
object.
To log something, the Calling class must call the desired level method
info, debug, warn, error, fatal with the message to be logged. If the
calling the err or fatal classes, a Throwable object must be passed as a second
argument. Calling the error method will only print the message and
error stack trace. However, calling the fatal method will print the
stack trace, and kill the program.
| Modifier and Type | Method and Description |
|---|---|
void |
sendMsg(java.lang.String s)
Sends the message to the output.
|