Qmmslog |
a port of the Jakarta Project's
log4j to
Qt/C++
|
Summary
The power and flexibility of log4j is now available to Qt users. This includes: hierarchical categories, configuration from a file at run-time, customizable layouts, and appending to stdout/stderr, files, or syslog. Place logging statements in your classes and forget about commenting them out when you're finished debugging. Read more in the log4j manual.
Status
- Supports Qt4
- Implemented
- LogLevels ( FATAL, ERROR, WARN, NOTICE, INFO, DEBUG )
- Hierarchical categories
- Thread-safe
- Layouts: SimpleLayout, PatternLayout
- Appenders: Console-, File-, RollingFile-, Syslog-, QTextEdit-, Sql-
- Runtime configuration (PropertyConfigurator, BasicConfigurator)
- Tested on Gnu/Linux using gcc 4.1.2 and Qt 4.3.4
- Internal logging using LogLog
- In Progress
- To Do
- HTMLLayout
- SMTPAppender
- Nested Diagnostic Contexts (NDC)
- SocketAppender
- DOMConfigurator
- More testing...
Project Links
Questions/comments/rants