efl::eina::_domain_base< D > Struct Template Reference

Public Member Functions
efl::eina::_domain_base< D > Struct Template Reference
Eina C++ » Tools » Log

Base implementation for log domains. More...

## Public Member Functions
void | set_level (::Eina_Log_Level l)
| Set the domain log level to the level specified by the given identifier. More...
::Eina_Log_Level | get_level () const
| Get the domain log level. More...
void | set_level (log_level::critical_t l)
| Set the domain log level based on the given log level type.
void | set_level (log_level::error_t l)
void | set_level (log_level::info_t l)
void | set_level (log_level::debug_t l)
void | set_level (log_level::warn_t l)

## Detailed Description

### template<typename D>
struct efl::eina::_domain_base< D >

Base implementation for log domains.

## Member Function Documentation

## ◆ set_level()

template<typename D>

void efl::eina::_domain_base< D >::set_level | ( | ::Eina_Log_Level | l | ) |
| inline

Set the domain log level to the level specified by the given identifier.

Parameters

  l | Eina native identifier to a log level.

## ◆ get_level()

template<typename D>

::Eina_Log_Level efl::eina::_domain_base< D >::get_level | ( |  | ) | const
| inline

Get the domain log level.

Returns
  Eina native identifier representing the current log level of the domain.