Class Dune::XT::Common::DefaultLogger

class Dune::XT::Common::DefaultLogger

A logging manager that provides info, debug and warning streams

Method Dune::XT::Common::DefaultLogger::build_prefix

static std::string Dune::XT::Common::DefaultLogger::build_prefix(const std::string &prfx, const int cnt, const std::string &clr)

No documentation provided.

Method Dune::XT::Common::DefaultLogger::operator=

DefaultLogger &Dune::XT::Common::DefaultLogger::operator=(const DefaultLogger &other)

No documentation provided.

Method Dune::XT::Common::DefaultLogger::info_enabled

bool Dune::XT::Common::DefaultLogger::info_enabled()

No documentation provided.

Method Dune::XT::Common::DefaultLogger::debug_enabled

bool Dune::XT::Common::DefaultLogger::debug_enabled()

No documentation provided.

Method Dune::XT::Common::DefaultLogger::warn_enabled

bool Dune::XT::Common::DefaultLogger::warn_enabled()

No documentation provided.

Method Dune::XT::Common::DefaultLogger::enable

void Dune::XT::Common::DefaultLogger::enable(const std::string &prfx)

No documentation provided.

Method Dune::XT::Common::DefaultLogger::enable_like

void Dune::XT::Common::DefaultLogger::enable_like(const DefaultLogger &other)

No documentation provided.

Method Dune::XT::Common::DefaultLogger::get_state_or

std::array<bool, 3> Dune::XT::Common::DefaultLogger::get_state_or(const std::array<bool, 3> &other_state) const

No documentation provided.

Method Dune::XT::Common::DefaultLogger::get_state_and

std::array<bool, 3> Dune::XT::Common::DefaultLogger::get_state_and(const std::array<bool, 3> &other_state) const

No documentation provided.

Method Dune::XT::Common::DefaultLogger::state_or

void Dune::XT::Common::DefaultLogger::state_or(const std::array<bool, 3> &other_state)

No documentation provided.

Method Dune::XT::Common::DefaultLogger::state_and

void Dune::XT::Common::DefaultLogger::state_and(const std::array<bool, 3> &other_state)

No documentation provided.

Method Dune::XT::Common::DefaultLogger::disable

void Dune::XT::Common::DefaultLogger::disable()

No documentation provided.

Method Dune::XT::Common::DefaultLogger::info

std::ostream &Dune::XT::Common::DefaultLogger::info()

No documentation provided.

Method Dune::XT::Common::DefaultLogger::debug

std::ostream &Dune::XT::Common::DefaultLogger::debug()

No documentation provided.

Method Dune::XT::Common::DefaultLogger::warn

std::ostream &Dune::XT::Common::DefaultLogger::warn()

No documentation provided.

Constructor Dune::XT::Common::DefaultLogger::DefaultLogger

explicit Dune::XT::Common::DefaultLogger::DefaultLogger(const std::string &prfx, const std::array<bool, 3> &initial_state = default_logger_state(), std::array<std::string, 3> colors, bool global_timer = true)

No documentation provided.

Constructor Dune::XT::Common::DefaultLogger::DefaultLogger

Dune::XT::Common::DefaultLogger::DefaultLogger(const DefaultLogger&)

No documentation provided.

Field Dune::XT::Common::DefaultLogger::prefix

std::string Dune::XT::Common::DefaultLogger::prefix

No documentation provided.

Field Dune::XT::Common::DefaultLogger::state

std::array<bool, 3> Dune::XT::Common::DefaultLogger::state

No documentation provided.

Field Dune::XT::Common::DefaultLogger::copy_count

int Dune::XT::Common::DefaultLogger::copy_count

No documentation provided.

Field Dune::XT::Common::DefaultLogger::timer_

Timer Dune::XT::Common::DefaultLogger::timer_

No documentation provided.

Field Dune::XT::Common::DefaultLogger::colors_

std::array<std::string, 3> Dune::XT::Common::DefaultLogger::colors_

No documentation provided.

Field Dune::XT::Common::DefaultLogger::global_timer_

bool Dune::XT::Common::DefaultLogger::global_timer_

No documentation provided.

Field Dune::XT::Common::DefaultLogger::info_

std::shared_ptr<std::ostream> Dune::XT::Common::DefaultLogger::info_

No documentation provided.

Field Dune::XT::Common::DefaultLogger::debug_

std::shared_ptr<std::ostream> Dune::XT::Common::DefaultLogger::debug_

No documentation provided.

Field Dune::XT::Common::DefaultLogger::warn_

std::shared_ptr<std::ostream> Dune::XT::Common::DefaultLogger::warn_

No documentation provided.