Fix log output formatting

Ansariel 2016-11-26 03:35:27 +01:00
parent f2c0d76997
commit 951f829d26
1 changed files with 2 additions and 2 deletions

View File

@ -971,9 +971,9 @@ namespace
message_stream << site.mLevelString << " ";
}
if (show_tags && r->wantsTags())
if (show_tags && r->wantsTags() && !site.mTagString.empty())
{
message_stream << site.mTagString;
message_stream << site.mTagString << " ";
}
if (show_location && (r->wantsLocation() || level == LLError::LEVEL_ERROR || s->mPrintLocation))