DescriptionMojo: Add logging macros (and supporting code) for use in mojo/public/cpp.
The logging macros should be usable by anything that depends on
mojo/public/cpp/environment (i.e., everything except
mojo/public/cpp/{system,utility}).
The macros are a simplified version of the usual ones in base/logging.h,
omitting (D)CHECK_{EQ,NE,GT,...}. Also currently not present are
(D)VLOG, etc.
I'm considering also adding MOJO_(D)CHECK_OK(mojo_result) and
MOJO_(D)LOG_IF_NOT_OK(level, mojo_result), which might be used similarly
to (D)PCHECK and (D)PLOG (for errno/GetLastError()). But I'd do that
separately.
R=darin@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278504
Patch Set 1 #
Total comments: 1
Patch Set 2 : abort #Patch Set 3 : rebased #Patch Set 4 : split lines #
Messages
Total messages: 8 (0 generated)
|