44 std::vector<std::pair<LogMessage, const LogCategory*>>&
getMessages() {
56 messages_.emplace_back(message, handlerCategory);
76 std::vector<std::pair<LogMessage, const LogCategory*>>
messages_;
93 std::shared_ptr<LogHandler> createHandler(
const Options& options)
override;
95 std::shared_ptr<LogHandler> updateHandler(
96 const std::shared_ptr<LogHandler>& existingHandler,
97 const Options& options)
override;
std::vector< std::pair< LogMessage, const LogCategory * > > messages_
std::vector< std::string > getMessageValues() const
TestLogHandlerFactory(StringPiece type)
std::map< std::string, std::string > options_
constexpr detail::Map< Move > move
void handleMessage(const LogMessage &message, const LogCategory *handlerCategory) override
—— Concurrent Priority Queue Implementation ——
std::unordered_map< std::string, std::string > Options
LogHandlerConfig::Options Options
uint64_t getFlushCount() const
std::vector< std::pair< LogMessage, const LogCategory * > > & getMessages()
void setOptions(const Options &options)
StringPiece getType() const override
TestLogHandler(LogHandlerConfig config)
LogHandlerConfig getConfig() const override
std::unordered_map< std::string, std::string > Options