From aa264a7fb28369ceed8c11af7e48d4c1b6a545bc Mon Sep 17 00:00:00 2001 From: Benjamin Sergeant Date: Thu, 8 Apr 2021 09:05:55 -0700 Subject: [PATCH] Update pattern_formatter-inl.h Comment describing the default logging pattern is missing [%s:%#], which is the abbreviated source file + the line number. I tried to customize our own logger by copy pasting this info, and then I noticed we had lost that information. --- include/spdlog/pattern_formatter-inl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdlog/pattern_formatter-inl.h b/include/spdlog/pattern_formatter-inl.h index 54346e1e..c6cd5e83 100644 --- a/include/spdlog/pattern_formatter-inl.h +++ b/include/spdlog/pattern_formatter-inl.h @@ -925,7 +925,7 @@ private: }; // Full info formatter -// pattern: [%Y-%m-%d %H:%M:%S.%e] [%n] [%l] %v +// pattern: [%Y-%m-%d %H:%M:%S.%e] [%n] [%l] [%s:%#] %v class full_formatter final : public flag_formatter { public: