Update to include funcname

When logging with ```SPDLOG_LOGGER_``` macro the ```funcname``` is missing. Updated ```full_formatter``` to include the funcname if source location is present.
pull/1522/head
matthesoundman 5 years ago committed by GitHub
parent 81444265f4
commit cbad2a6cb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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(' ');
}

Loading…
Cancel
Save