cwCmInterface.cpp : Cleaned up info and error printing to remove extraneous text.
This commit is contained in:
parent
cd65c8f98e
commit
2724b32fc2
@ -26,12 +26,12 @@ extern "C" {
|
|||||||
|
|
||||||
void _cm_print_info( void* arg, const char* text )
|
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 )
|
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 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user