mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-23 13:04:28 +00:00
Bug 1543501 - Print a 'token' that allows output from MOZ_DBG() to be easily grepped for among other output. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D26984 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
4bfebae0ab
commit
422903589d
@ -89,7 +89,7 @@ template <typename T>
|
||||
auto&& MozDbg(const char* aFile, int aLine, const char* aExpression,
|
||||
T&& aValue) {
|
||||
std::ostringstream s;
|
||||
s << '[' << aFile << ':' << aLine << "] " << aExpression << " = ";
|
||||
s << "[MozDbg] [" << aFile << ':' << aLine << "] " << aExpression << " = ";
|
||||
mozilla::DebugValue(s, std::forward<T>(aValue));
|
||||
s << '\n';
|
||||
fputs(s.str().c_str(), stderr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user