The Battle for Wesnoth  1.19.7+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

logddomain_
 

Friends

class logger
 

Detailed Description

Definition at line 125 of file log.hpp.

Constructor & Destructor Documentation

◆ log_domain()

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

Definition at line 338 of file log.cpp.

References domain_, and lg::domains.

Friends And Related Function Documentation

◆ logger

friend class logger
friend

Definition at line 129 of file log.hpp.

Member Data Documentation

◆ domain_

logd* lg::log_domain::domain_
private

Definition at line 126 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: