#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 char *str) |
void | do_log_exit () |
Private Attributes | |
int | ticks_ |
std::ostream * | output_ |
const char * | str_ |
Definition at line 71 of file log.hpp.
lg::scope_logger::scope_logger | ( | log_domain const & | domain, | |
const char * | str | |||
) | [inline] |
Definition at line 77 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 82 of file log.hpp.
References lg::debug, do_log_entry(), and lg::logger::dont_log().
lg::scope_logger::~scope_logger | ( | ) | [inline] |
void lg::scope_logger::do_indent | ( | ) | const |
Definition at line 144 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 char * | str | |||
) | [private] |
void lg::scope_logger::do_log_exit | ( | ) | [private] |
Definition at line 135 of file log.cpp.
References do_indent(), lg::get_timestamp(), indent, str_, ticks_, and timestamp.
Referenced by ~scope_logger().
int lg::scope_logger::ticks_ [private] |
std::ostream* lg::scope_logger::output_ [private] |
Definition at line 74 of file log.hpp.
Referenced by do_indent(), do_log_entry(), and ~scope_logger().
const char* lg::scope_logger::str_ [private] |
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |