senf::log::Target::RoutingEntry Struct Reference

Target routing entry. More...

#include <senf/Utils/Logger/Target.hh>

Public Member Functions

std::string stream () const
 Stream to match. More...
 
std::string area () const
 Area to match (empty of unspecified) More...
 
unsigned level () const
 Level to match (senf::log::NONE::value if unspecified) More...
 
action_t action () const
 Action to take. More...
 

Detailed Description

Target routing entry.

A single routing entry matches messages against their stream, area and level. If the entry matches, the given action is performed.

See also
senf::log::Target

Definition at line 156 of file Target.hh.

Member Function Documentation

◆ action()

action_t senf::log::Target::RoutingEntry::action ( ) const

Action to take.

◆ area()

std::string senf::log::Target::RoutingEntry::area ( ) const

Area to match (empty of unspecified)

◆ level()

unsigned senf::log::Target::RoutingEntry::level ( ) const

Level to match (senf::log::NONE::value if unspecified)

◆ stream()

std::string senf::log::Target::RoutingEntry::stream ( ) const

Stream to match.


The documentation for this struct was generated from the following file: