#include <log.hpp>

Public Member Functions | |
| scope_logger (log_domain const &domain, const char *str) | |
| scope_logger (log_domain const &domain, const std::string &str) | |
| ~scope_logger () | |
| void | do_indent () const |
Private Member Functions | |
| void | do_log_entry (log_domain const &domain, const std::string &str) |
| void | do_log_exit () |
Private Attributes | |
| int | ticks_ |
| std::ostream * | output_ |
| std::string | str_ |
Definition at line 101 of file log.hpp.
| lg::scope_logger::scope_logger | ( | log_domain const & | domain, | |
| const char * | str | |||
| ) | [inline] |
Definition at line 107 of file log.hpp.
References lg::debug, do_log_entry(), and lg::logger::dont_log().

| lg::scope_logger::scope_logger | ( | log_domain const & | domain, | |
| const std::string & | str | |||
| ) | [inline] |
Definition at line 114 of file log.hpp.
References lg::debug, do_log_entry(), and lg::logger::dont_log().

| lg::scope_logger::~scope_logger | ( | ) | [inline] |
Definition at line 121 of file log.hpp.
References do_log_exit(), and output_.

| void lg::scope_logger::do_indent | ( | ) | const |
Definition at line 165 of file log.cpp.
References indent, and output_.
Referenced by do_log_exit().

| void lg::scope_logger::do_log_entry | ( | log_domain const & | domain, | |
| const std::string & | str | |||
| ) | [private] |
| void lg::scope_logger::do_log_exit | ( | ) | [private] |
Definition at line 156 of file log.cpp.
References do_indent(), lg::get_timestamp(), indent, str_, ticks_, and timestamp.
Referenced by ~scope_logger().


std::ostream* lg::scope_logger::output_ [private] |
Definition at line 104 of file log.hpp.
Referenced by do_indent(), do_log_entry(), and ~scope_logger().
std::string lg::scope_logger::str_ [private] |
Definition at line 105 of file log.hpp.
Referenced by do_log_entry(), and do_log_exit().
int lg::scope_logger::ticks_ [private] |
Definition at line 103 of file log.hpp.
Referenced by do_log_entry(), and do_log_exit().
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:24:44 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |