Skip to content

Commit

Permalink
It would help if we actually printed the non-newline version of the l…
Browse files Browse the repository at this point in the history
…og message.
  • Loading branch information
tmiw committed Nov 23, 2024
1 parent 71e4bb1 commit bd7e513
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/rig_control/HamlibRigController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,19 +142,19 @@ static int LogHamlibErrors_(
switch (debug_level)
{
case RIG_DEBUG_BUG:
log_fatal("%s", buf);
log_fatal("%s", msg.c_str());
break;
case RIG_DEBUG_ERR:
log_error("%s", buf);
log_error("%s", msg.c_str());
break;
case RIG_DEBUG_WARN:
log_warn("%s", buf);
log_warn("%s", msg.c_str());
break;
case RIG_DEBUG_VERBOSE:
log_debug("%s", buf);
log_debug("%s", msg.c_str());
break;
default:
log_trace("%s", buf);
log_trace("%s", msg.c_str());
break;
}

Expand Down

0 comments on commit bd7e513

Please sign in to comment.