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
* XMiLog v0.9.2 source code (45 kB)
Project information
Author: Xavier Michelon
Platform: Windows (Tested and developed under Windows XP pro), Mac OS X (Tested and developed under Mac OS X 10.5, a.k.a. Leopard)
Development language: C++
Development environment: Visual Studio 2008 (Windows), Xcode 3.1 (Mac OS X)
Current version: 0.9.2
First release date: 2005.02.07
Current version release date: 2008.06.24
Dependencies for source code compilation: none
License: The source code for this application is placed under the terms of the GNU Lesser General Public License
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 distribuation, 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...).
History
2008.06.24: version 0.9.2Fixed project settings
Changed default font and style in CSS style
Mac: changed name of DEBUG macro to _DEBUG
Fixed internal iterator calls bug
2006.02.05: version 0.9.1
Added Mac port
Added XMi namespace
2005.02.07: version 0.9
Initial release

