public final class Log extends Object
Modifier and Type | Method and Description |
---|---|
ConsoleLogger |
getConsole()
Gets the logger that writes to the system console
|
Logger |
getCustom()
Gets the custom logger that was registered by the
application (if any)
|
FileLogger |
getFile()
Gets the logger that writes to log files
|
void |
setCustom(Logger customLogger)
Sets an application specific logging method
|
@NonNull public ConsoleLogger getConsole()
@NonNull public FileLogger getFile()
public Logger getCustom()
public void setCustom(Logger customLogger)
customLogger
- A Logger implementation that will receive logging messages