Better format log message context
This commit is contained in:
parent
f3065b367e
commit
859282305d
1 changed files with 3 additions and 1 deletions
|
|
@ -83,7 +83,9 @@ namespace fc
|
|||
|
||||
void log_context::append_context( const fc::string& s )
|
||||
{
|
||||
my->context += "->" + s;
|
||||
if (!my->context.empty())
|
||||
my->context += " -> ";
|
||||
my->context += s;
|
||||
}
|
||||
|
||||
log_context::~log_context(){}
|
||||
|
|
|
|||
Loading…
Reference in a new issue