Constructor
Şöyle yaparız.
Şöyle yaparız.
Şöyle yaparız.
boost::shared_ptr<sinks::text_multifile_backend> backend =
boost::make_shared< sinks::text_multifile_backend >();
set_file_name_composer metoduŞöyle yaparız.
backend->set_file_name_composer
(
sinks::file::as_file_name_composer(
boost::log::expressions::stream <<
boost::log::expressions::attr< std::string >("level") << ".log")
);
Hiç yorum yok:
Yorum Gönder