Loading...
Searching...
No Matches
errLv.hpp
Go to the documentation of this file.
1
2#pragma once
3
4#include "indep/common.hpp"
5#include "indep/def.hpp"
6#include "indep/macro.hpp"
7
8namespace by {
13 class _nout errLv {
14 BY(ME(errLv))
15
16 public:
17 enum level {
18 ERR,
19 WARN,
20 INFO
21 };
22
23 public:
28 static const std::string& getName(level lv);
29 };
30}
Error level definitions and utilities.
Definition errLv.hpp:13
static const std::string & getName(level lv)
Get human-readable name for error level.
Rich logging support with polymorphic type conversion.
Definition richLog.hpp:34