diff options
author | tschmelcher@google.com <tschmelcher@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-06 22:14:38 +0000 |
---|---|---|
committer | tschmelcher@google.com <tschmelcher@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-06 22:14:38 +0000 |
commit | 4b4afc9a78dcf44a42cda4ff509299e164acae54 (patch) | |
tree | 3e4971485e1abb8230a66e1ce77b85068a9b9311 /gears/SConscript.browser | |
parent | 82592da309a05caa5b1be3c83d4a32b739b3cfb9 (diff) | |
download | chromium_src-4b4afc9a78dcf44a42cda4ff509299e164acae54.zip chromium_src-4b4afc9a78dcf44a42cda4ff509299e164acae54.tar.gz chromium_src-4b4afc9a78dcf44a42cda4ff509299e164acae54.tar.bz2 |
Add logging macros that automatically append the last system error in string form.
TESTED=Linux: tested PLOG and DPLOG with both a valid error and invalid error on a dbg build with both the default strerror_r implementation (GNU) and the other one (POSIX) via some throw-away macro evilness, and also tested the default strerror_r again on an opt build to verify DPLOG is a no-op; Windows: tested PLOG and DPLOG with both a valid error and invalid error on a dbg build; also tested LOG_GETLASTERROR_MODULE with winhttp and ERROR_WINHTTP_CANNOT_CONNECT and verified that it prints the correct system message and that it doesn't with PLOG; also tested LOG_GETLASTERROR_MODULE with a bogus module name and verified that it prints an error that it can't find the module, and the original error; Mac: none (implicitly tested via the Linux POSIX tests)
Review URL: http://codereview.chromium.org/255093
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28166 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gears/SConscript.browser')
0 files changed, 0 insertions, 0 deletions