is it possible extend SPDLOG_LEVEL_DEBUG to multiple levels? #3108
Unanswered
zhouqingqing
asked this question in
Q&A
Replies: 1 comment 2 replies
-
It is not possible to customize log levels in spdlog. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is useful when we need to have different verbosity/levels of debug message. For example, PostgreSQL has 5 debug levels (DEBUG5, DEBUG4, ..., DEBUG1). At DEBUG5, it flushes screen with lots of tedious information, while at DEBUG1, it outputs high level information only.
PostgreSQL ref: https://www.postgresql.org/docs/current/runtime-config-logging.html#RUNTIME-CONFIG-LOGGING-WHEN
Beta Was this translation helpful? Give feedback.
All reactions