-
Notifications
You must be signed in to change notification settings - Fork 26
iLOG3 is a portable and easy to use, simple concept, high performance, multiple interfaces, native cross platform, thread safety , following the LGPL source protocol , standard c log function library.
iLOG3 is a portable and easy to use, simple concept, high performance, multiple interfaces, native cross-platform, thread safety , following the LGPL source protocol , standard c log function library.
The basic features are as follows :
- Native cross-platform, which means that your software on the log module is easily transplanted, currently supported WINDOWS & UNIX & Linux, iLOG3 will accordingly implementation and optimization on different operating systems
- Five log levels
- Variable parameter of the journal functions and macros
- Log style scheme selection
- Output media file, the standard output and standard error output, syslogd or WINDOWS EVENT, custom medium
Advanced features as follows :
- Advanced log options
- According to turn archives by log file size, every day, every hour
- Support line logging style custom callback function, it is easy to customize your own line of log format
- Support of the log file open, output, close the custom callback function, it is easy to extend into the log output to a remote server
- Thread safety, simple MDC, based on the default thread local storage global logging handle
Layered implementation "LOG handle layer (LOG) - > LOG handle collection (LOGS) - > config file interface layer (LOGCONF, LOGSCONF)". Actually most users log demand is very simple, a process to write a log file (using the logging handle layer functions), but also consider the other users have more than one output object demand (using the logging handle collection layer functions), and users tend to use external configuration file to configure the log (using a configuration file interface layer functions), different users in different project scene using iLOG3 different layers of the interface.
I also developed a sister function library iLOG3CONF_SML to support with SML markup language (XML) configuration file to configure the logging handle, interested friends can call log handle layer or log handle collection function to develop their own iLOG3CONF_ *, implementation in XML or json or in fashion now own project unified configuration file format, to achieve with an external configuration file configuration iLOG3 log handle to the environment.
In addition, the source code structure is relatively simple, only three pair of the source file, easy to handle, embedding and modification.
Welcome to use, if you met with a problem or have a cool idea, please tell me, thank you ^_^
Portal home page [url]https://github.com/calvinwilliams/iLOG3[/url]