proxygen
|
#include <LogStreamProcessor.h>
Public Member Functions | |
bool | isInitialized () const |
LogCategory * | init (folly::StringPiece categoryName, bool isOverridden) |
LogCategory * | getCategory (XlogFileScopeInfo *) |
XlogCategoryInfo< IsInHeaderFile > * | getInfo (XlogFileScopeInfo *) |
Private Attributes | |
std::atomic< bool > | isInitialized_ |
LogCategory * | category_ |
Definition at line 74 of file LogStreamProcessor.h.
|
inline |
Definition at line 427 of file xlog.h.
Referenced by folly::LogStreamProcessor::LogStreamProcessor().
|
inline |
Get a pointer to pass into the LogStreamProcessor constructor, so that it is able to look up the LogCategory information.
LogCategory * folly::XlogCategoryInfo< IsInHeaderFile >::init | ( | folly::StringPiece | categoryName, |
bool | isOverridden | ||
) |
Definition at line 86 of file xlog.cpp.
References folly::LoggerDB::get(), folly::getXlogCategoryNameForFile(), folly::XlogLevelInfo< IsInHeaderFile >::loadLevelFull(), folly::UNINITIALIZED, UNLIKELY, folly::LoggerDB::xlogInit(), and folly::LoggerDB::xlogInitCategory().
Referenced by folly::LogStreamProcessor::LogStreamProcessor().
|
inline |
Definition at line 421 of file xlog.h.
References folly::init().
Referenced by folly::LogStreamProcessor::LogStreamProcessor().
|
private |
|
private |