* \brief Change the current debug level. * * \param debug_level Equivalent to the `-v` option of the utilities. * * Allows for dynamically changing the debugging output without reinitializing * the library. * * Useful for programs that want to enable and disable debugging * output without restarting. */
| 144 | * output without restarting. |
| 145 | */ |
| 146 | void HAMLIB_API rig_set_debug(enum rig_debug_level_e debug_level) |
| 147 | { |
| 148 | rig_debug_level = debug_level; |
| 149 | } |
| 150 | |
| 151 | /** |
| 152 | * \brief Get the current debug level. |