#include <logging.h>
Inheritance diagram for templog::non_incremental_write_policy_base< WritePolicy_, Endl_ >:
Derive from this class to create your own non-incremental write policy. Pass your derived class' type as the first template parameter, and a boolean indicating whether you need a '
' character appended to the end of each log message as the second.
Your derived class needs to implement the meta function template< int Sev_, int Aud_ > struct writes { enum { result = true }; }; which determines whether any given log message is filtered at compile-time, the static function static bool is_writing(int Sev, int Aud); which determines whether a given log message is filtered at run-time, and the function static void write_str(const std::string& str); which writes the log message to the sink.
Definition at line 621 of file logging.h.