summaryrefslogtreecommitdiff
path: root/lib/common/Logging.h
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2008-03-29 01:56:39 +0000
committerChris Wilson <chris+github@qwirx.com>2008-03-29 01:56:39 +0000
commit2e761f8a7744f18059e2048f319f4cac8e32d765 (patch)
treeadd4cfdd6c6e71f3101de346e38f57a803a70aad /lib/common/Logging.h
parentc414132f88a8a687d50b602cd00087df58fac587 (diff)
Replace all remaining use of TRACEx() macros with logging framework.
Remove the old TRACEx macros to catch any remaining uses.
Diffstat (limited to 'lib/common/Logging.h')
-rw-r--r--lib/common/Logging.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/common/Logging.h b/lib/common/Logging.h
index 2d09b319..dafafbbd 100644
--- a/lib/common/Logging.h
+++ b/lib/common/Logging.h
@@ -62,15 +62,18 @@
BOX_ERROR(stuff << ": " << GetErrorMessage(number))
#endif
-#define BOX_FORMAT_ACCOUNT(accno) \
+#define BOX_FORMAT_HEX32(number) \
std::hex << \
std::showbase << \
std::internal << \
std::setw(10) << \
std::setfill('0') << \
- (accno) << \
+ (number) << \
std::dec
+#define BOX_FORMAT_ACCOUNT(accno) \
+ BOX_FORMAT_HEX32(accno)
+
#define BOX_FORMAT_OBJECTID(objectid) \
std::hex << \
std::showbase << \