Commit graph

5 commits

Author SHA1 Message Date
Daniel Eklöf
7f2c0681a7 log: add LOG_ERRNO()
Works like LOG_ERR(), but appends a string representation of the
current errno value to the log message string.
2018-12-19 21:01:01 +01:00
Daniel Eklöf
8897e480c5 log: rename log_class() -> log_msg() 2018-12-19 20:56:26 +01:00
Daniel Eklöf
5e80cf2204 log: only enable debug logging if LOG_ENABLE_DBG has been set to 1 2018-12-18 19:41:05 +01:00
Daniel Eklöf
33ffe02244 log: allow logging of format string only, no format arguments 2018-12-17 20:28:49 +01:00
Daniel Eklöf
d516ffdda0 log: initial framework for logging things 2018-12-17 20:25:18 +01:00