aboutsummaryrefslogtreecommitdiffstats
path: root/ws_log_defs.h
AgeCommit message (Collapse)AuthorFilesLines
2021-09-30dfilter: Display syntax tree for debuggingJoão Valverde1-0/+2
Use wslog to output debug information. Being able to control it at runtime is a big advantage. We extend the syntax tree nodes with a method to return a canonical string representation. Add a routine to walk the tree and return an textual representation for debugging purposes.
2021-06-21wslog: Reverse order for level priorityJoão Valverde1-8/+8
Consistently speaking of ascending priority for higher levels seems slightly more intuitive. Use that instead.
2021-06-18wslog: Use NULL for empty/default domainJoão Valverde1-11/+14
2021-06-17Replace usage of GLogLevel flags everywhereJoão Valverde1-0/+65
ws_log_domains.h needs to be included before wslog.h to be used to define WS_LOG_DOMAIN. Also the definition for enum ws_log_level needs to be exported for other APIs so move that to ws_log_domains.h and rename the file to ws_log_defs.h to reflect the new scope.