Releases: CrusaderSVK287/CCLog
v1.3.0 CCLog (hotfix)
- Added C++ wrapper for better integration with C++ projects
- fixed issue with callbacks in C++ wrapper
v1.3.0 CCLog
- Added a C++ wrapper for better intergration with C++ projects
CCLog version 1.2.3
Changes
- in makefile install target: path is now /usr/local instead of /usr to avoid conflicts with package managers
v1.2.2
HOTFIX
- HOTFIX: prefixed all non-static function with 'cclog_' by @CrusaderSVK287 in #12
This could cause linking errors "redefinition" or even segmentation faults if in users codebase was a function with the same name
Full Changelog: v1.2.1...v1.2.2
v1.2.1
What's Changed
-
Bugfix default log verbosity by @CrusaderSVK287 in #11
-
Feature log verbosity by @CrusaderSVK287 in #10
This feautre allows to set verbosity to log levels and general logger. If log level verbosity is higher than logger verbosity, log will not be performed. Not compatible with previous versions of library
Full Changelog: v1.1.0...v1.2.1
v1.1.0 - HTTP server update
What's Changed
- Feature http server enhancement by @CrusaderSVK287 in #9
- Http server now correctly displays the entire log file
- Http server now works with multi file method
- New format variable - UPTIME - shows time elapsed since logger initialisation
- Optimisation for when server is not being used.
Full Changelog: v1.0.1...v1.1.0
v1.0.1
CCLog version 1.0.0
CCLog
Introduction
CCLog ,Customizable C Logger, is a logging library written in C for Linux based operating systems.
It is simple to use and provides customizability features.
Main Features
CCLog allows you to:
- Specify your logging type. Eighter log everything to a single file or create a new file with each initialisation
- Multiple rulesets (log_levels) telling how and where a log message is to be outputed
- Create custome rulesets. Specifiy color and format of the message
- Specify a callback function for a ruleset
- Customize how the full log message looks
- Export or import a logger configuration with json file
- Host a http server to access the configuration or log remotely
How to compile
To compile the library, follow these steps
- Clone this repository
- Run
make
- (Optitional) Run
make install
When compiling a binary with the library used, don't forget to link it with -lcclog
. (Only works if you ran make install
)
Default make target will compile the sources and generate a .so file in ./bin/libcclog.so.
The optitional install target will copy the result binary and the header file to the coresponding places, you will than be able to link the library dynamicaly.