22#include "anch-log-export.hpp"
29#include "log/levels.hpp"
30#include "log/logger.hpp"
45 template<anch::log::Level L>
108 std::optional<std::ostringstream> _out;
155 LogLine& operator<<(std::ostream& (*manip)(std::ostream&)) noexcept;
208#include "log/impl/stream.hpp"
LogLine(const anch::log::Logger &logger, anch::log::Level level) noexcept
LogLine(LogLine &&)=delete
LogLine(const LogLine &)=delete
constexpr const NoopStream & operator<<(std::ostream &(*)(std::ostream &)) const noexcept
constexpr const NoopStream & operator<<(const T &) const noexcept
Logging levels as types for the stream API.
constexpr anch::log::LevelTag< anch::log::Level::ERROR > error
Definition stream.hpp:201
constexpr anch::log::LevelTag< anch::log::Level::WARN > warn
Definition stream.hpp:198
constexpr anch::log::LevelTag< anch::log::Level::FATAL > fatal
Definition stream.hpp:204
constexpr anch::log::LevelTag< anch::log::Level::DEBUG > debug
Definition stream.hpp:192
constexpr anch::log::LevelTag< anch::log::Level::INFO > info
Definition stream.hpp:195
constexpr anch::log::LevelTag< anch::log::Level::TRACE > trace
Definition stream.hpp:189
AnCH logging library namespace.
Definition constants.hpp:26
Level
Definition levels.hpp:43
AnCH framework base namespace.
Definition app.hpp:30
static constexpr anch::log::Level value
Definition stream.hpp:48