AnCH Framework 0.2
Another C++ Hack: C++23 utility libraries
Loading...
Searching...
No Matches
anch::log::lvl Namespace Reference

Logging levels as types for the stream API. More...

Variables

constexpr anch::log::LevelTag< anch::log::Level::TRACE > trace {}
constexpr anch::log::LevelTag< anch::log::Level::DEBUG > debug {}
constexpr anch::log::LevelTag< anch::log::Level::INFO > info {}
constexpr anch::log::LevelTag< anch::log::Level::WARN > warn {}
constexpr anch::log::LevelTag< anch::log::Level::ERROR > error {}
constexpr anch::log::LevelTag< anch::log::Level::FATAL > fatal {}

Detailed Description

Logging levels as types for the stream API.

LOG << anch::log::lvl::debug << "value=" << value; // stream API

Variable Documentation

◆ debug

anch::log::LevelTag<anch::log::Level::DEBUG> anch::log::lvl::debug {}
inlineconstexpr

Debug level

◆ error

anch::log::LevelTag<anch::log::Level::ERROR> anch::log::lvl::error {}
inlineconstexpr

Error level

◆ fatal

anch::log::LevelTag<anch::log::Level::FATAL> anch::log::lvl::fatal {}
inlineconstexpr

Fatal level

◆ info

anch::log::LevelTag<anch::log::Level::INFO> anch::log::lvl::info {}
inlineconstexpr

Information level

◆ trace

anch::log::LevelTag<anch::log::Level::TRACE> anch::log::lvl::trace {}
inlineconstexpr

Trace level

◆ warn

anch::log::LevelTag<anch::log::Level::WARN> anch::log::lvl::warn {}
inlineconstexpr

Warning level