EcGen 1.1.8
Loading...
Searching...
No Matches
logging.hpp
Go to the documentation of this file.
1
5
6#pragma once
7
8#include <string>
9
10namespace ecgen {
11
19
25 void init_logger_with_filter(const std::string& filter);
26
33
40 bool try_init_logger_with_filter(const std::string& filter);
41
48
49} // namespace ecgen
Definition combin.hpp:13
bool is_logger_initialized()
Check if the logger has been initialized.
bool try_init_logger()
Try to initialize the logger with default filter (info).
bool try_init_logger_with_filter(const std::string &filter)
Try to initialize the logger with a specific filter string.
void init_logger()
Initialize the logger with default filter (info).
void init_logger_with_filter(const std::string &filter)
Initialize the logger with a specific filter string.