#include <log.hpp>
Public Member Functions | |
logger (char const *name, int severity) | |
std::ostream & | operator() (log_domain const &domain, bool show_names=true, bool do_indent=false) const |
bool | dont_log (log_domain const &domain) const |
Private Attributes | |
char const * | name_ |
int | severity_ |
Definition at line 49 of file log.hpp.
lg::logger::logger | ( | char const * | name, | |
int | severity | |||
) | [inline] |
std::ostream & lg::logger::operator() | ( | log_domain const & | domain, | |
bool | show_names = true , |
|||
bool | do_indent = false | |||
) | const |
Definition at line 106 of file log.cpp.
References lg::log_domain::domain_, lg::get_timestamp(), indent, lg::log_domains, lg::logd::name_, name_, null_ostream(), lg::logd::severity_, severity_, and timestamp.
bool lg::logger::dont_log | ( | log_domain const & | domain | ) | const [inline] |
Definition at line 57 of file log.hpp.
References lg::log_domain::domain_, lg::log_domains, lg::logd::severity_, and severity_.
Referenced by lg::scope_logger::scope_logger().
char const* lg::logger::name_ [private] |
int lg::logger::severity_ [private] |
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |