diff options
author | Ryan Ofsky <ryan@ofsky.org> | 2024-04-03 10:52:36 +0200 |
---|---|---|
committer | Vasil Dimov <vd@FreeBSD.org> | 2024-08-04 06:42:59 +0200 |
commit | 160706aa387245ed96b1f13e5362fe1837e8fc4b (patch) | |
tree | d57b392f84f37555b9ea84d8d7adf6f5bcc26127 /README.md | |
parent | 357f19539129fae31bbc87275fa0935fc33cade4 (diff) |
logging, refactor: make category special cases explicit
Make special cases explicit in GetLogCategory() and LogCategoryToStr()
functions. Simplify the LOG_CATEGORIES_BY_STR and LOG_CATEGORIES_BY_FLAG
mappings and LogCategoriesList() function.
This makes the maps `LOG_CATEGORIES_BY_STR` and `LOG_CATEGORIES_BY_FLAG`
consistent (one is exactly the opposite of the other).
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions