keep filename as it's public

This commit is contained in:
IIFEgit
2020-05-26 21:59:57 +01:00
parent 0b86d6a451
commit 95485ee89b
3 changed files with 14 additions and 0 deletions

View File

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