1
0
mirror of https://github.com/gabime/spdlog.git synced 2025-01-15 17:27:57 +00:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Gabi Melman
2a6a8aa0a0
Merge pull request #1913 from bsergean/patch-1
Update pattern_formatter-inl.h full_formatter comment to describe the default logging pattern expression accurately
2021-04-08 21:11:53 +03:00
Benjamin Sergeant
aa264a7fb2
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.
2021-04-08 09:05:55 -07:00

View File

@ -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: