34 #define FB_LOG(logger, level, ...) \ 37 ::folly::LogLevel::level, \ 38 ::folly::LogStreamProcessor::APPEND, \ 53 #define FB_LOGF(logger, level, fmt, arg1, ...) \ 56 ::folly::LogLevel::level, \ 57 ::folly::LogStreamProcessor::FORMAT, \ 75 #define FB_LOG_RAW(logger, level, filename, linenumber, functionName, ...) \ 82 ::folly::LogStreamProcessor::APPEND, \ 89 #define FB_LOGF_RAW( \ 90 logger, level, filename, linenumber, functionName, fmt, arg1, ...) \ 97 ::folly::LogStreamProcessor::FORMAT, \ 107 #define FB_LOG_IMPL(logger, level, type, ...) \ 108 (!(logger).getCategory()->logCheck(level)) \ 109 ? ::folly::logDisabledHelper( \ 110 ::folly::bool_constant<::folly::isLogLevelFatal(level)>{}) \ 111 : ::folly::LogStreamVoidify<::folly::isLogLevelFatal(level)>{} & \ 112 ::folly::LogStreamProcessor{(logger).getCategory(), \ 130 #define FB_LOG_RAW_IMPL( \ 131 logger, level, filename, line, functionName, type, ...) \ 132 (!(logger).getCategory()->logCheck(level)) \ 133 ? static_cast<void>(0) \ 134 : ::folly::LogStreamVoidify<false>{} & \ 135 ::folly::LogStreamProcessor{(logger).getCategory(), \
Logger(folly::StringPiece name)
—— Concurrent Priority Queue Implementation ——
LogCategory *const category_
LogCategory * getCategory() const