-
Notifications
You must be signed in to change notification settings - Fork 2
Log4jVsZeroLog
Google Code Exporter edited this page Mar 13, 2015
·
1 revision
log4j | zero-log | |
---|---|---|
How to use? |
|
|
Overhead for determining if a logging statement should be logged or not |
|
|
Support Scala | Yes | Yes |
Support Java | Yes | No |
Configuration file format | properties or XML | Scala |
Static syntax checking for configuration | No | Yes (By scalac) |
Support
|
No | Yes |
Support
|
No | Yes |
Support run-time configuration | Yes | Yes |
Support compile-time configuration | No | Yes |
Does run-time configuration and compile-time configuration have same syntax? | N/A | Yes |
Can configuration be debugged? | No | Yes |
Number of appender implementations | Many | Few (Contribute yours!) |
Number of formatter implementations | Many | Few (Contribute yours!) |
Speed of formatting log messages | Slow (Creating dozens of temporary objects with dozens of boxing / unboxing overhead) | Very fast |