19 #include <glog/logging.h> 25 #if FOLLY_USE_SYMBOLIZER 34 void init(
int* argc,
char***
argv,
bool removeFlags) {
35 #if FOLLY_USE_SYMBOLIZER 39 #elif !defined(_WIN32) 40 google::InstallFailureSignalHandler();
47 gflags::ParseCommandLineFlags(argc, argv, removeFlags);
50 auto programName = argc && argv && *argc > 0 ? (*argv)[0] :
"unknown";
51 google::InitGoogleLogging(programName);
53 #if FOLLY_USE_SYMBOLIZER 55 google::InstallFailureFunction(abort);
63 init(argc, argv, removeFlags);
static SingletonVault * singleton()
void installFatalSignalCallbacks()
FOLLY_NOINLINE Init(int *argc, char ***argv, bool removeFlags=true)
DEFINE_string(logging,"","Logging configuration")
—— Concurrent Priority Queue Implementation ——
void init(int *argc, char ***argv, bool removeFlags)
void installFatalSignalHandler()
void initLoggingOrDie(StringPiece configString)
void registrationComplete()