XMiLog
XMiLog is a C++ library made of a single class that implement an application log mechanism. Oriented toward simplicity and efficiency, the class offers to opportunity to log the three types of events generally found in a log: simple echos, warning and fatal errors.
The class offer the opportunity get a text or an XHTML 1.0 version of the log. The HTML version can also be formatted using a user provided stylesheet.
Finally, the class offers a 'immediate write' mode, where the log event are written in a text file as soon as they are added, so that the log is not lost if the application crashes.
Originally written under Visual Studio and Windows XP Pro, then ported to Mac OS X, the library can be easily ported to other platforms. Only the low-level time management routines are platform-dependent.
Download
Source Code
Information
Documentation
Although no complete documentation is provided, the source code is commented using the doxygen syntax. A doxygen configuration file is provided in the source distribution, so that a readable documentation can be automatically generated.
Feedback
Remarks and suggestions are welcome. Do not hesitate to give your feedback. You can report any problem, but do not forget to add some information about your hardware and software configuration (CPU, RAM, OS version, graphic card...).
Revision history
- Fixed project settings
- Changed default font and style in CSS style
- Mac: changed name of DEBUG macro to _DEBUG
- Fixed internal iterator calls bug
- Added Mac port
- Added XMi namespace
- Initial release
