Last active
March 26, 2016 14:27
-
-
Save dorgonman/aa3bcb24ba275ce9acc6 to your computer and use it in GitHub Desktop.
HorizonLogBasicFormatedBackend
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class HorizonLogBasicFormatedBackend : public boost::log::sinks::basic_formatted_sink_backend < char > { | |
public: | |
void consume(const boost::log::record_view& rec, string_type const& msg); | |
inline void setLogMessageImplemen(HorizonLogImpFunc_t&& impl) { logMessageImplement = std::move(impl); }; | |
private: | |
void logMessage(const boost::log::record_view& rec, const std::string& msg); | |
private: | |
HorizonLogImpFunc_t logMessageImplement; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment