* |MOZ_LOG_DEBUG_ONLY(...)| * |MOZ_LOG_DURATION_DEBUG_ONLY(...)| * |MOZ_LOG_FMT_DEBUG_ONLY(...)|
These macros <https://searchfox.org/firefox-main/rev/a76c4aa96f82857dbd0c679e834adb94626ed43a/xpcom/base/Logging.h#307-313> put corresponding macro only when `|#ifdef DEBUG|`.
Additionally, new bool pretty printers are shipped together. * |TrueOrFalse(bool) <https://searchfox.org/firefox-main/rev/a76c4aa96f82857dbd0c679e834adb94626ed43a/xpcom/base/Logging.h#339>| * |YesOrNo(bool) <https://searchfox.org/firefox-main/rev/a76c4aa96f82857dbd0c679e834adb94626ed43a/xpcom/base/Logging.h#340>| * |OnOrOff(bool) <https://searchfox.org/firefox-main/rev/a76c4aa96f82857dbd0c679e834adb94626ed43a/xpcom/base/Logging.h#341>| * |SucceededOrFailed(bool) <https://searchfox.org/firefox-main/rev/a76c4aa96f82857dbd0c679e834adb94626ed43a/xpcom/base/Logging.h#342>| * |OkOrError(bool) <https://searchfox.org/firefox-main/rev/a76c4aa96f82857dbd0c679e834adb94626ed43a/xpcom/base/Logging.h#343>| * |DoneOrIgnored(bool) <https://searchfox.org/firefox-main/rev/a76c4aa96f82857dbd0c679e834adb94626ed43a/xpcom/base/Logging.h#344>| * |HandledOrIgnored(bool) <https://searchfox.org/firefox-main/rev/a76c4aa96f82857dbd0c679e834adb94626ed43a/xpcom/base/Logging.h#345>| * |DoneOrCanceled(bool) <https://searchfox.org/firefox-main/rev/a76c4aa96f82857dbd0c679e834adb94626ed43a/xpcom/base/Logging.h#346>| * |HandledOrCanceled(bool) <https://searchfox.org/firefox-main/rev/a76c4aa96f82857dbd0c679e834adb94626ed43a/xpcom/base/Logging.h#347>|They are defined with new `|MOZ_DEFINE_BOOL_PRETTY_PRINTER()|` macro <https://searchfox.org/firefox-main/rev/a76c4aa96f82857dbd0c679e834adb94626ed43a/xpcom/base/Logging.h#333>. Therefore, if you want another version of bool pretty printer, you can define it in proper scope like this <https://searchfox.org/firefox-main/rev/a76c4aa96f82857dbd0c679e834adb94626ed43a/widget/MouseEvents.h#442-444>.
-- Masayuki Nakano<[email protected]> Working on DOM, Events, editor and IME handling for Gecko -- You received this message because you are subscribed to the Google Groups "[email protected]" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/1c55639d-eab1-44f0-835a-aad6d93985a7%40d-toybox.com.
