Append an arbitrary object to a string for logging purposes.

Synopsis

Declared in <folly/logging/ObjectToString.h>

template<typename Arg>
void
appendToString(
    std::string& result,
    Arg const& arg);

Parameters

Name

Description

result

The string to append to.

arg

The object to append.

Created with MrDocs