From 2724b32fc2826ba241b668bed16c308fdcd83200 Mon Sep 17 00:00:00 2001 From: kevin Date: Tue, 16 May 2023 09:10:51 -0400 Subject: [PATCH] cwCmInterface.cpp : Cleaned up info and error printing to remove extraneous text. --- cwCmInterface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cwCmInterface.cpp b/cwCmInterface.cpp index dd9bb48..8e323f4 100644 --- a/cwCmInterface.cpp +++ b/cwCmInterface.cpp @@ -26,12 +26,12 @@ extern "C" { void _cm_print_info( void* arg, const char* text ) { - cwLogInfo(text); + cw::log::msg( cw::log::globalHandle(), cw::log::kInfo_LogLevel, nullptr, nullptr, 0, 0, cw::kOkRC, "%s", text ); } void _cm_print_error( void* arg, const char* text ) { - cwLogError(cw::kOpFailRC,text); + cw::log::msg( cw::log::globalHandle(), cw::log::kPrint_LogLevel, nullptr, nullptr, 0, 0, cw::kOkRC, "cm-error: %s", text ); } }