Skip to content

Commit 0a4bd1b

Browse files
committed
fix: add Debug() method to StructuredLog class
The Debug() method was missing from StructuredLog class, causing compilation errors when trying to use debug-level structured logging. This completes the log level API alongside existing Error(), Warn(), Info(), and Critical() methods.
1 parent 7418993 commit 0a4bd1b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/utils/structured_log.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,11 @@ class StructuredLog {
169169
*/
170170
void Info() { spdlog::info("{}", Build()); }
171171

172+
/**
173+
* @brief Log as debug level
174+
*/
175+
void Debug() { spdlog::debug("{}", Build()); }
176+
172177
/**
173178
* @brief Log as critical level
174179
*/

0 commit comments

Comments
 (0)