16. ログの収集 名前空間/クラスにロガーを追加 namespace mod { namespace logging = boost::log; namespace log { namespace attrs = logging::attributes; namespace src = logging::sources; } using severity_level = logging::trivial::severity_level; BOOST_LOG_INLINE_GLOBAL_LOGGER_DEFAULT( logger, src::severity_logger_mt<severity_level>); void init(); } // namespace mod 17. ログの収集 ロガー毎に属性を付与 namespace mod { void init() { auto
![Boost.Logとfluentdで始めるログ活用術](https://cdn-ak-scissors.b.st-hatena.com/image/square/4f510b8d0fff9e96ec8fb76363ae2343c4650405/height=288;version=1;width=512/https%3A%2F%2Fcdn.slidesharecdn.com%2Fss_thumbnails%2Fboostlog-150530061249-lva1-app6892-thumbnail.jpg%3Fwidth%3D640%26height%3D640%26fit%3Dbounds)