lg::logger Class Reference

#include <log.hpp>

List of all members.

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_


Detailed Description

Definition at line 49 of file log.hpp.


Constructor & Destructor Documentation

lg::logger::logger ( char const *  name,
int  severity 
) [inline]

Definition at line 53 of file log.hpp.


Member Function Documentation

std::ostream & lg::logger::operator() ( log_domain const &  domain,
bool  show_names = true,
bool  do_indent = false 
) const

bool lg::logger::dont_log ( log_domain const &  domain  )  const [inline]


Member Data Documentation

char const* lg::logger::name_ [private]

Definition at line 50 of file log.hpp.

Referenced by operator()().

int lg::logger::severity_ [private]

Definition at line 51 of file log.hpp.

Referenced by dont_log(), and operator()().


The documentation for this class was generated from the following files:

Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs