#include <folly/logging/StandardLogHandlerFactory.h>
#include <folly/Conv.h>
#include <folly/MapUtil.h>
#include <folly/String.h>
#include <folly/logging/CustomLogFormatter.h>
#include <folly/logging/GlogStyleFormatter.h>
#include <folly/logging/LogLevel.h>
#include <folly/logging/LogWriter.h>
#include <folly/logging/StandardLogHandler.h>
string;
namespace folly {
namespace {
class GlogFormatterFactory
: public StandardLogHandlerFactory::FormatterFactory { … };
class CustomLogFormatterFactory
: public StandardLogHandlerFactory::FormatterFactory { … };
}
std::shared_ptr<StandardLogHandler> StandardLogHandlerFactory::createHandler(
StringPiece type, WriterFactory* writerFactory, const Options& options) { … }
std::shared_ptr<StandardLogHandler> StandardLogHandlerFactory::createHandler(
StringPiece type,
WriterFactory* writerFactory,
FormatterFactory* formatterFactory,
const Options& options) { … }
}