liblog

[full]

log C library

A simple logging library implemented in C99 and packaged for build2.

screenshot

Usage

Update your build2 project to include this dependency:

repositories.manifest   # add 'location: https://github.com/belovachap/liblog.git#master'
manifest                # add 'depends: liblog'
buildfile               # add 'import libs += liblog%lib{log}'
your_file.c             # add '#include <liblog/log.h>'

The library provides 6 function-like macros for logging:

log_trace(const char *fmt, ...);
log_debug(const char *fmt, ...);
log_info(const char *fmt, ...);
log_warn(const char *fmt, ...);
log_error(const char *fmt, ...);
log_fatal(const char *fmt, ...);
... More
license proprietary
project liblog
url example.org/liblog
1 Version
version 0.1.0-a.0.20200519214208.f388398de447
repository git:github.com/belovachap/liblog#master@f388398de447f7b01a7fe69653970a834d817b4b
depends 0