| Package | Description |
|---|---|
| me.legrange.log | |
| me.legrange.log.logger |
| Modifier and Type | Method and Description |
|---|---|
static void |
Log.setDefaultLogger(Logger logger)
Set the default application logger.
|
void |
LogControl.setDefaultLogger(Logger logger)
Set the default application logger.
|
static void |
Log.setLogger(Logger logger)
Set the logger for the package calling the logger.
|
void |
LogControl.setLogger(Logger logger)
Set the logger for the package calling the logger.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ConsoleLogger
A basic logger implementation that prints to System.out, with exceptions going to System.err
|
class |
FileLogger |
class |
NumberedExceptionLogger
A logger implementation that numbers exceptions and logs them with the number
to another logger, while writing the stack trace to a file.
|
| Constructor and Description |
|---|
NumberedExceptionLogger(Logger logger,
PrintWriter exceptionOut) |
NumberedExceptionLogger(Logger logger,
String exceptionFile) |
Copyright © 2020. All rights reserved.