23 lines
636 B
C++
23 lines
636 B
C++
#ifndef C3F17743_0B87_45E4_B864_8BE35775019D
|
|
#define C3F17743_0B87_45E4_B864_8BE35775019D
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
// Public interface to the internal logging system. Not a logging utility library.
|
|
|
|
namespace mesytec::mnode
|
|
{
|
|
|
|
// Levels are: trace, debug, info, warning, error, critical, off
|
|
|
|
void set_log_level(const std::string &level);
|
|
void set_log_level(const std::string &logger_name, const std::string &level);
|
|
|
|
// Only the names of loggers that have been created at runtime are returned.
|
|
// It's not a static result.
|
|
std::vector<std::string> get_logger_names();
|
|
|
|
}
|
|
|
|
#endif /* C3F17743_0B87_45E4_B864_8BE35775019D */
|