proxygen
Init.h File Reference
#include <folly/Range.h>

Go to the source code of this file.

Namespaces

 folly
 —— Concurrent Priority Queue Implementation ——
 

Macros

#define FOLLY_INIT_LOGGING_CONFIG(config)
 

Functions

void folly::initLogging (StringPiece configString)
 
void folly::initLoggingOrDie (StringPiece configString)
 
const char * folly::getBaseLoggingConfig ()
 

Macro Definition Documentation

#define FOLLY_INIT_LOGGING_CONFIG (   config)
Value:
namespace folly { \
static constexpr StringPiece configSP((config)); \
return configSP.data(); \
} \
} \
static_assert(true, "require a semicolon after FOLLY_INIT_LOGGING_CONFIG()")
const char * getBaseLoggingConfig()
Definition: InitWeak.cpp:29
—— Concurrent Priority Queue Implementation ——
Definition: AtomicBitSet.h:29
AHArrayT::Config config
const
Definition: upload.py:398
Range< const char * > StringPiece

A helper macro to set the default logging configuration in a program.

This defines the folly::getBaseLoggingConfig() function, and makes it return the specified string.

This macro should be used at the top-level namespace in a .cpp file in your program.

Definition at line 90 of file Init.h.