common_util
Loading...
Searching...
No Matches
src
common_util
logtype.h
Go to the documentation of this file.
1
19
#pragma once
20
21
#include <string>
22
#include <functional>
23
24
namespace
cutl
25
{
30
enum class
loglevel
31
{
33
debug_level
,
35
info_level
,
37
warn_level
,
39
error_level
,
40
};
41
49
using
LogFuncType
= std::function<void(
loglevel
,
const
std::string &)>;
50
51
}
// namespace cutl
cutl::LogFuncType
std::function< void(loglevel, const std::string &)> LogFuncType
The type of log function.
Definition
logtype.h:49
cutl::loglevel
loglevel
The type of log level.
Definition
logtype.h:31
cutl::loglevel::info_level
@ info_level
cutl::loglevel::error_level
@ error_level
cutl::loglevel::warn_level
@ warn_level
cutl::loglevel::debug_level
@ debug_level
Generated by
1.10.0