Skip to content

Commit 8afe8d0

Browse files
committed
Fix some details.
1 parent 6a95c50 commit 8afe8d0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

matlab/JSBSim_SFunction.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,12 +226,14 @@ class LogMatlab : public FGLogConsole
226226
case LogLevel::DEBUG:
227227
case LogLevel::INFO:
228228
case LogLevel::STDOUT:
229-
mexPrintf("JSBSim: %s", buffer.c_str());
229+
mexPrintf("%s", buffer.c_str());
230230
break;
231231
case LogLevel::WARN:
232232
mexWarnMsgIdAndTxt("JSBSim:Warning", buffer.c_str());
233233
break;
234234
case LogLevel::ERROR:
235+
mexWarnMsgIdAndTxt("JSBSim:Error", buffer.c_str());
236+
break;
235237
case LogLevel::FATAL:
236238
{
237239
snprintf(error_msg, sizeof(error_msg), "%s", buffer.c_str());

0 commit comments

Comments
 (0)