Class to control configuration of logger. This is a singleton that can launch a thread to watch a config file for changes.
More...
#include <gnuradio/logger.h>
|
static std::string | get_filename () |
| Getter for config filename. More...
|
|
static unsigned int | get_watch_period () |
| Getter for watch period. More...
|
|
static void | load_config (std::string filename, unsigned int watch_period=0) |
| Method to load configuration /param filename Name of configuration file /param watch_period Seconds between checks for changes in config file. More...
|
|
static void | stop_watch () |
| Method to stop watcher thread. More...
|
|
static void | reset_config (void) |
| method to reset logger configuration More...
|
|
Class to control configuration of logger. This is a singleton that can launch a thread to watch a config file for changes.
◆ get_filename()
static std::string gr::logger_config::get_filename |
( |
| ) |
|
|
static |
Getter for config filename.
◆ get_watch_period()
static unsigned int gr::logger_config::get_watch_period |
( |
| ) |
|
|
static |
◆ load_config()
static void gr::logger_config::load_config |
( |
std::string |
filename, |
|
|
unsigned int |
watch_period = 0 |
|
) |
| |
|
static |
Method to load configuration /param filename Name of configuration file /param watch_period Seconds between checks for changes in config file.
◆ reset_config()
static void gr::logger_config::reset_config |
( |
void |
| ) |
|
|
static |
method to reset logger configuration
◆ stop_watch()
static void gr::logger_config::stop_watch |
( |
| ) |
|
|
static |
Method to stop watcher thread.
The documentation for this class was generated from the following file: