log4dmby Stephen001 |
|
A configurable logging library in the style of log4j [More] |
To download this library for your Linux/Mac installation, enter this on your command line:
DreamDownload byond://Stephen001.log4dm##version=1 Emulator users, in the BYOND pager go to File | Open Location and enter this URL:byond://Stephen001.log4dm##version=1 |
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 |
Please support BYOND through Membership or a donation!
Pirion: (Aug 21 2014, 5:57 pm)
Hey Stephen, Not sure how often you check git so I figured I will post it here. I sent a pull request on this to add SQLite as an optional storage. Please let me know if you've got any concerns with it. I also want to look at adding mysql sometime down the road.
Insomniaddikt: (Jun 29 2014, 9:35 am)
I just saved about 12 hours of making a decent logging system before I realized - why not search for it first? Thanks, Stephen! :)
Kozuma3: (Jun 24 2014, 5:45 am)
Wouldn't it be best to use switch() instead of multiple if() statements?
|
Related Libraries
|
|||||||||||||||||||||||||||||||||||
More Libraries by Stephen001
|
Copyright © 2024 BYOND Software.
All rights reserved.