The Battle for Wesnoth  1.17.21+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, int severity=1)

Private Attributes



class logger

Detailed Description

Definition at line 116 of file log.hpp.

Constructor & Destructor Documentation

◆ log_domain()

lg::log_domain::log_domain ( char const *  name,
int  severity = 1 

Definition at line 257 of file log.cpp.

References domain_, and lg::domains.

Friends And Related Function Documentation

◆ logger

friend class logger

Definition at line 120 of file log.hpp.

Member Data Documentation

◆ domain_

logd* lg::log_domain::domain_

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