fixed a bug in configure_logging that made adding more than one logger impossible
This commit is contained in:
parent
687eaa98f2
commit
102e0c4ab8
1 changed files with 1 additions and 1 deletions
|
|
@ -47,8 +47,8 @@ namespace fc {
|
||||||
auto ap = appender::get( *a );
|
auto ap = appender::get( *a );
|
||||||
if( ap ) { lgr.add_appender(ap); }
|
if( ap ) { lgr.add_appender(ap); }
|
||||||
}
|
}
|
||||||
return reg_console_appender || reg_file_appender;
|
|
||||||
}
|
}
|
||||||
|
return reg_console_appender || reg_file_appender;
|
||||||
} catch ( exception& e )
|
} catch ( exception& e )
|
||||||
{
|
{
|
||||||
fc::cerr<<e.to_detail_string()<<"\n";
|
fc::cerr<<e.to_detail_string()<<"\n";
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue