#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 81 of file log.hpp.
| lg::logger::logger | ( | char const * | name, | |
| int | severity | |||
| ) | [inline] |
| bool lg::logger::dont_log | ( | log_domain const & | domain | ) | const [inline] |
Definition at line 89 of file log.hpp.
References lg::log_domain::domain_, and severity_.
Referenced by lg::scope_logger::scope_logger().

| std::ostream & lg::logger::operator() | ( | log_domain const & | domain, | |
| bool | show_names = true, |
|||
| bool | do_indent = false | |||
| ) | const |
Definition at line 127 of file log.cpp.
References lg::log_domain::domain_, lg::get_timestamp(), indent, name_, output(), severity_, and timestamp.

char const* lg::logger::name_ [private] |
Definition at line 82 of file log.hpp.
Referenced by operator()().
int lg::logger::severity_ [private] |
Definition at line 83 of file log.hpp.
Referenced by dont_log(), and operator()().
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:24:44 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |