Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: src/engine/Debug.h

Issue 10790071: Send debug output to a file (Closed)
Patch Set: Created May 31, 2013, 9:54 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 #ifndef DEBUG_H
2 #define DEBUG_H
3
4 #include <string>
5
6 #ifdef _DEBUG
7 void Debug(const std::string& text);
8 void DebugLastError(const std::string& message);
9 void DebugException(const std::exception& exception);
10 #else
11 void Debug(const std::string& text) {}
12 void DebugLastError(const std::string& message) {}
13 void DebugException(const std::exception& exception) {}
14 #endif
15
16 #endif // DEBUG_H
OLDNEW
« no previous file with comments | « AdblockPlusEngine.vcxproj ('k') | src/engine/Debug.cpp » ('j') | src/engine/Debug.cpp » ('J')

Powered by Google App Engine
This is Rietveld