/sclog

A simple logging library in ANSI C

Primary LanguageCMIT LicenseMIT

sclog - An ANSI C conformant logging library.

License

Copyright (c) 2019 Stephan Gatzka. See the LICENSE file for license rights and limitations (MIT).

Build Status

Github action Coverity GitHub license codecov Quality Gate Total alerts Language grade: C/C++

Open Hub

Howto Build

sclog is always built using cmake. The CMakeLists.txt is written platform independently so you can choose any cmake aware environment, even Visual Studio.

There are several cmake options that let you configure which parts should actually put into the library. For instance, if you compile for POSIX conformant environments, you can choose if you want to include the code for a syslog log sink. Please either look into the CMakeLists.txt file or run a graphical cmake frontend for more information.

sclog lets you choose if you want to build a static or dynamic library. The default is static. If you want a shared library, execute:

cmake -DBUILD_SHARED_LIBS=ON <path-to-sclog-project>

Documentation

The generated doxygen documentation can be found here.