proxygen
|
Public Member Functions | |
TestWriterFactory (std::shared_ptr< TestLogWriter > writer) | |
bool | processOption (StringPiece, StringPiece) override |
std::shared_ptr< LogWriter > | createWriter () override |
Public Member Functions inherited from folly::StandardLogHandlerFactory::OptionProcessor | |
virtual | ~OptionProcessor () |
Private Attributes | |
std::shared_ptr< TestLogWriter > | writer_ |
Definition at line 68 of file SyncLevelTest.cpp.
|
inline |
Definition at line 70 of file SyncLevelTest.cpp.
|
inlineoverridevirtual |
Implements folly::StandardLogHandlerFactory::WriterFactory.
Definition at line 78 of file SyncLevelTest.cpp.
|
inlineoverridevirtual |
Process an option.
This should return true if the option was processed successfully, or false if this is an unknown option name. It should throw an exception if the option name is known but there is a problem with the value.
Implements folly::StandardLogHandlerFactory::OptionProcessor.
Definition at line 73 of file SyncLevelTest.cpp.
|
private |
Definition at line 83 of file SyncLevelTest.cpp.