AnCH Framework 0.1
Another C++ Hack Framework
Loading...
Searching...
No Matches
anch::logger::LoggerConfiguration Class Reference

#include <loggerConfiguration.hpp>

Collaboration diagram for anch::logger::LoggerConfiguration:

Public Member Functions

 LoggerConfiguration (const std::string &category, const anch::logger::Level &level, const std::vector< anch::logger::Writer * > &writers)
 ~LoggerConfiguration ()
const std::string & getCategory () const
const anch::logger::LevelgetLevel () const
const std::vector< anch::logger::Writer * > & getWriters () const

Detailed Description

Loggers configuration extract from configuration file

Author
Vincent Lachenal

Constructor & Destructor Documentation

◆ LoggerConfiguration()

anch::logger::LoggerConfiguration::LoggerConfiguration ( const std::string & category,
const anch::logger::Level & level,
const std::vector< anch::logger::Writer * > & writers )

LoggerConfiguration constructor

Parameters
categoryThe category
levelThe logging level
writersThe writers

◆ ~LoggerConfiguration()

anch::logger::LoggerConfiguration::~LoggerConfiguration ( )

LoggerConfiguration destructor

Member Function Documentation

◆ getCategory()

const std::string & anch::logger::LoggerConfiguration::getCategory ( ) const

Category getter

Returns
The category

◆ getLevel()

const anch::logger::Level & anch::logger::LoggerConfiguration::getLevel ( ) const

Logging level getter

Returns
The logging level

◆ getWriters()

const std::vector< anch::logger::Writer * > & anch::logger::LoggerConfiguration::getWriters ( ) const

Writers getter

Returns
The writers

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