00001 // Copyright (c) 2005-2011 Hartmut Kaiser 00002 // 00003 // Distributed under the Boost Software License, Version 1.0. (See accompanying 00004 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 00005 00006 #include <saga/saga/util.hpp> 00007 #include <saga/saga/base.hpp> 00008 #include <saga/saga/session.hpp> 00009 #include <saga/saga/detail/module_needs_logging.hpp> 00010 #include <saga/impl/runtime.hpp> 00011 #include <saga/impl/session.hpp> 00012 00013 namespace saga { namespace detail 00014 { 00016 bool module_needs_logging(char const* module_name, saga::session const& s) 00017 { 00018 return impl::runtime::get_impl(s)->module_needs_logging(module_name); 00019 } 00020 }} 00021