common_util
Loading...
Searching...
No Matches
config.h
Go to the documentation of this file.
1
19#pragma once
20
21#include "logtype.h"
22
23namespace cutl
24{
30 std::string library_name();
31
37 std::string library_version();
38
44 void library_init(LogFuncType log_func);
45
46} // namespace cutl
std::string library_name()
Get the name of the library.
std::string library_version()
Get the version of the library.
void library_init(LogFuncType log_func)
Initialize the library.
Defines the log level and log function type.
std::function< void(loglevel, const std::string &)> LogFuncType
The type of log function.
Definition logtype.h:49