This commit is contained in:
gabime
2016-09-15 00:38:21 +03:00
parent 6312748cc7
commit 5653e5c9d7
10 changed files with 3257 additions and 2535 deletions

View File

@@ -35,8 +35,10 @@ protected:
void _sink_it(const details::log_msg& msg) override
{
for (auto &sink : _sinks){
if( sink->should_log( msg.level)){
for (auto &sink : _sinks)
{
if( sink->should_log( msg.level))
{
sink->log(msg);
}
}