folly::logging::BridgeFromGoogleLogging

Class to bridge GLOG to folly logging.

Synopsis

Declared in <folly/logging/BridgeFromGoogleLogging.h>

struct BridgeFromGoogleLogging
    : google::LogSink

Description

You only need one instance of this class in your program at a time. While it's in scope it will bridge all GLOG messages to the folly logging pipeline.

You probably want this very early in main as: folly::logging::BridgeFromGoogleLogging glogToXlogBridge{};

Base Classes

NameDescription
google::LogSink

Member Functions

NameDescription
BridgeFromGoogleLogging [constructor]Constructors
~BridgeFromGoogleLogging [destructor] [virtual]Unregisters this bridge from glog.
operator= Assignment operators
send send overloads

Using Declarations

NameDescription
send Inherits the base class send overloads.