summaryrefslogtreecommitdiff
path: root/common/logutils.h
AgeCommit message (Collapse)AuthorFilesLines
2024-01-19common: Logging reworkTomas Bzatek1-0/+55
Use common logging macros for a consistent output. A logging domain needs to be set in a Makefile first (the _LOG_DOMAIN define). Heavy debugging output is guarded by the __DEBUG_INTERNAL define and omitted by default. Logging severity is controlled by the TUXCMD_DEBUG env. var, typically set by the tuxcmd process itself.