aboutsummaryrefslogtreecommitdiffstats
path: root/api/logger.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* api: stop double error status reportingSimon Rozman2020-10-301-3/+3
| | | | | | | When an internal function logs an error and its cause, it bloats the log when the caller logs the cause again. Signed-off-by: Simon Rozman <simon@rozman.si>
* api: simplify logger macros namesSimon Rozman2020-10-301-3/+3
| | | | | | | | | | | WINTUN_LOGGER_... => LOGGER_... => LOG_... Those macros are internal, so they don/t need to start with WINTUN_... Replacing the noun LOGGER_... with the verb LOG_... makes the code more natural to read now. Signed-off-by: Simon Rozman <simon@rozman.si>
* api: introduce loggingSimon Rozman2020-10-301-0/+38
And other unifications with installer before merging. Signed-off-by: Simon Rozman <simon@rozman.si>