mirror of
https://github.com/gabime/spdlog.git
synced 2025-10-02 11:29:01 +08:00
Pass logger name to tracer
This commit is contained in:
@@ -165,7 +165,7 @@ SPDLOG_INLINE void logger::dump_backtrace()
|
||||
if (backtrace_sink_)
|
||||
{
|
||||
auto tracer = static_cast<sinks::backtrace_sink_mt *>(backtrace_sink_.get());
|
||||
tracer->dump_backtrace();
|
||||
tracer->dump_backtrace(name());
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user