Elasticlient
include
elasticlient
logging.h
Go to the documentation of this file.
1
6
#pragma once
7
#include <string>
8
9
11
namespace
elasticlient
{
12
13
15
enum class
LogLevel
{
16
FATAL = 0,
17
ERROR = 1,
18
WARNING = 2,
19
INFO = 3,
20
DEBUG = 4
21
};
22
23
25
using
LogCallback
= void(*)(
LogLevel
,
const
std::string &);
26
27
34
void
setLogFunction
(
LogCallback
extLogFunction);
35
36
37
}
// namespace elasticlient
elasticlient::LogLevel
LogLevel
Levels of logging.
Definition:
logging.h:15
elasticlient::setLogFunction
void setLogFunction(LogCallback extLogFunction)
elasticlient::LogCallback
void(*)(LogLevel, const std::string &) LogCallback
Definition of LogCallback.
Definition:
logging.h:25
elasticlient
The elasticlient namespace.
Definition:
bulk.h:15
Generated by
1.8.17