diff --git a/include/spdlog/pattern_formatter-inl.h b/include/spdlog/pattern_formatter-inl.h index e68b91be..c4d1d9d0 100644 --- a/include/spdlog/pattern_formatter-inl.h +++ b/include/spdlog/pattern_formatter-inl.h @@ -978,6 +978,8 @@ public: fmt_helper::append_string_view(filename, dest); dest.push_back(':'); fmt_helper::append_int(msg.source.line, dest); + dest.push_back(':'); + fmt_helper::append_string_view(msg.source.funcname, dest); dest.push_back(']'); dest.push_back(' '); }