mirror of
https://github.com/gabime/spdlog.git
synced 2025-10-02 03:19:02 +08:00
keep filename as it's public
This commit is contained in:
@@ -70,6 +70,12 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
filename_t filename()
|
||||
{
|
||||
std::lock_guard<Mutex> lock(base_sink<Mutex>::mutex_);
|
||||
return file_helper_.filename();
|
||||
}
|
||||
|
||||
protected:
|
||||
void sink_it_(const details::log_msg &msg) override
|
||||
{
|
||||
|
Reference in New Issue
Block a user