You just define your logger<...>
class like this:
typedef logger_format_write<format_base,destination_base> logger_type;
instead of
typedef logger_format_write<
format_base, destination_base
gather::ostream_like::return_str<>,
writer::format_write<formatter_base,destination_base> > > logger_type;
FIXME need to have more template params
format_base_type | (optional) Your formatter base class | |
destination_base | (optional) Your destination base class | |
thread_safety | (optional) Thread-safety. Any of the writer::threading classes. | |
gather | (optional) The class that gathers the message |
cache_before_init.cpp, custom_fmt_dest.cpp, ded_loger_one_filter.cpp, mul_loggers_one_filter.cpp, no_levels_with_route.cpp, ts_loger_one_filter.cpp, use_profiler.cpp, and use_tss_ostringstream.cpp.