Add method to filesinks to return filename

This commit is contained in:
Mark Niebur
2019-01-23 11:35:55 -07:00
parent 00e89a23f6
commit 6e2dadc63a
3 changed files with 15 additions and 0 deletions

View File

@@ -30,6 +30,11 @@ public:
file_helper_.open(filename, truncate);
}
const filename_t &filename() const
{
return file_helper_.filename();
}
protected:
void sink_it_(const details::log_msg &msg) override
{