Skip to content

Releases: CrusaderSVK287/CCLog

v1.3.0 CCLog (hotfix)

06 Feb 23:00
44f46b5
Compare
Choose a tag to compare
  • Added C++ wrapper for better integration with C++ projects
  • fixed issue with callbacks in C++ wrapper

v1.3.0 CCLog

06 Feb 22:58
399e685
Compare
Choose a tag to compare
  • Added a C++ wrapper for better intergration with C++ projects

CCLog version 1.2.3

02 Feb 11:29
Compare
Choose a tag to compare

Changes

  • in makefile install target: path is now /usr/local instead of /usr to avoid conflicts with package managers

v1.2.2

03 Jan 21:51
40ea6c0
Compare
Choose a tag to compare

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

29 Dec 16:16
6408f64
Compare
Choose a tag to compare

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

30 Sep 12:35
Compare
Choose a tag to compare

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

28 Sep 21:11
cd818fb
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.0.0...v1.0.1

CCLog version 1.0.0

29 Aug 09:36
a350539
Compare
Choose a tag to compare

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

  1. Clone this repository
  2. Run make
  3. (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.