The Battle for Wesnoth  1.19.1+dev
Public Member Functions | Private Attributes | Friends | List of all members
lg::log_domain Class Reference

#include <log.hpp>

Public Member Functions

 log_domain (char const *name, severity severity=severity::LG_WARN)

Private Attributes



class logger

Detailed Description

Definition at line 124 of file log.hpp.

Constructor & Destructor Documentation

◆ log_domain()

lg::log_domain::log_domain ( char const *  name,
severity  severity = severity::LG_WARN 

Definition at line 335 of file log.cpp.

References domain_, and lg::domains.

Friends And Related Function Documentation

◆ logger

friend class logger

Definition at line 128 of file log.hpp.

Member Data Documentation

◆ domain_

logd* lg::log_domain::domain_

Definition at line 125 of file log.hpp.

Referenced by lg::logger::dont_log(), log_domain(), and lg::logger::operator()().

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