log4dm is a configurable logging library, with a number of different supported output formats.
Your log messages can be recorded at different levels, FATAL, ERROR, WARN, INFO, DEBUG or TRACE. Through code or at runtime, you can adjust the level of log messages actually recorded to your outputs, or turn off logging entirely.
The currently supported outputs are:
world.log
file
daily log file
With the following available formatting:
Plain text
HTML
ID:1576385
May 16 2014, 10:00 pm
|
|
Jun 24 2014, 5:45 am
|
|
Wouldn't it be best to use switch() instead of multiple if() statements?
|
I just saved about 12 hours of making a decent logging system before I realized - why not search for it first? Thanks, Stephen! :)
|