Print Hamlib version string in system log

This commit is contained in:
Bill Somerville 2021-01-15 14:05:20 +00:00
parent b741eb761e
commit e18082caab
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F

View File

@ -161,6 +161,7 @@ void HamlibTransceiver::register_transceivers (logger_type * logger,
{
rig_set_debug_callback (debug_callback, logger);
rig_set_debug (RIG_DEBUG_TRACE);
BOOST_LOG_SEV (*logger, boost::log::trivial::info) << "Hamlib version: " << rig_version ();
rig_load_all_backends ();
rig_list_foreach (register_callback, registry);
}