Skip to content

Commit

Permalink
Fix double prefix on logger instances (#1007)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdahm authored Jul 6, 2020
1 parent fc5c491 commit d95821a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions gtclang/src/gtclang/Support/Logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ dawn::Logger::MessageFormatter makeGTClangMessageFormatter(const std::string& pr
std::stringstream ss;
ss << "[" << timeStr << "] ";

ss << prefix;
ss << prefix << " [" << file << ":" << line << "] " << message << "\n";

return ss.str();
Expand All @@ -63,7 +62,6 @@ dawn::Logger::DiagnosticFormatter makeGTClangDiagnosticFormatter(const std::stri
std::stringstream ss;
ss << "[" << timeStr << "] ";

ss << prefix;
ss << prefix << " [" << file << ":" << line << "] " << source;

if(loc.Line) {
Expand Down

0 comments on commit d95821a

Please sign in to comment.