A simple logging library implemented in C99
log.c and log.h should be dropped into an existing project and compiled along with it.
The current logging level can be set by using the logc_set_level()
function.
All logs below the given level will be ignored. By default the level is
LOGC_TRACE
, such that nothing is ignored.
2019-05-03 15:31:41.898 TRACE [16727]: Hello world
print log in printf like way
This library is free software; you can redistribute it and/or modify it under the terms of the MIT license. See LICENSE for details.