proxygen
|
#include <StandardLogHandlerFactory.h>
Classes | |
class | FormatterFactory |
class | OptionProcessor |
class | WriterFactory |
Public Types | |
using | Options = std::unordered_map< std::string, std::string > |
Static Public Member Functions | |
static std::shared_ptr< StandardLogHandler > | createHandler (StringPiece type, WriterFactory *writerFactory, const Options &options) |
StandardLogHandlerFactory contains helper methods for LogHandlerFactory implementations that create StandardLogHandler objects.
StandardLogHandlerFactory does not derive from LogHandlerFactory itself.
Definition at line 35 of file StandardLogHandlerFactory.h.
using folly::StandardLogHandlerFactory::Options = std::unordered_map<std::string, std::string> |
Definition at line 37 of file StandardLogHandlerFactory.h.
|
static |
Definition at line 92 of file StandardLogHandlerFactory.cpp.
References folly::StandardLogHandlerFactory::WriterFactory::createWriter(), folly::get_ptr(), handled, folly::join(), folly::StandardLogHandlerFactory::OptionProcessor::processOption(), folly::stringToLogLevel(), and type.
Referenced by folly::StreamHandlerFactory::createHandler(), folly::FileHandlerFactory::createHandler(), and folly::TestHandlerFactory::createHandler().