]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common/LogEntry: Reintroduce human readable log level for clog messages 49730/head
authorPrashant D <pdhange@redhat.com>
Wed, 18 Jan 2023 00:31:54 +0000 (19:31 -0500)
committerPrashant D <pdhange@redhat.com>
Wed, 7 Feb 2024 20:23:02 +0000 (15:23 -0500)
commit05d54ca52c07ca61f584de7b307af546135f8f4b
tree3a8d9bc384026318d8ebe92c954acfc44903beaf
parent608a5b2b92a6b73dedaf7124f77c371b1f9a4cd4
common/LogEntry: Reintroduce human readable log level for clog messages

In {fmt} v9, fmt::formatter<> is not getting defined automatically for
the clog_type with operator<<, we need to define it explictly.
Allow fmt::formatter<> to print clog prio using {fmt}.

Fixes: https://tracker.ceph.com/issues/58436
Signed-off-by: Prashant D <pdhange@redhat.com>
src/common/LogEntry.h