diff options
author | Thomas Schuetz | 2013-04-16 16:42:06 +0000 |
---|---|---|
committer | Thomas Schuetz | 2013-04-16 16:42:21 +0000 |
commit | 955539f0d645d2f599d5be48071105796421e119 (patch) | |
tree | 7883ba2dc2cf614191f1c3ba5e1d2366c564928f /runtime/org.eclipse.etrice.runtime.c/src/platforms | |
parent | c621f5c2d1fd4b27ffee6ba97a83cd9e78e21082 (diff) | |
download | org.eclipse.etrice-955539f0d645d2f599d5be48071105796421e119.tar.gz org.eclipse.etrice-955539f0d645d2f599d5be48071105796421e119.tar.xz org.eclipse.etrice-955539f0d645d2f599d5be48071105796421e119.zip |
[generator.c, runtime.c] removed cyclic logger call in subsystem, added
flush for etLogger calls
Change-Id: Id94741b8bcaab8bc70472515a5adc183de54bfe4
Diffstat (limited to 'runtime/org.eclipse.etrice.runtime.c/src/platforms')
-rw-r--r-- | runtime/org.eclipse.etrice.runtime.c/src/platforms/generic/etLogger.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/org.eclipse.etrice.runtime.c/src/platforms/generic/etLogger.c b/runtime/org.eclipse.etrice.runtime.c/src/platforms/generic/etLogger.c index 5ab7da075..662776c65 100644 --- a/runtime/org.eclipse.etrice.runtime.c/src/platforms/generic/etLogger.c +++ b/runtime/org.eclipse.etrice.runtime.c/src/platforms/generic/etLogger.c @@ -17,10 +17,12 @@ void etLogger_logError(const char* message){
printf("ERROR: %s\n", message);
+ fflush(stdout);
}
void etLogger_logWarning(const char* message){
printf("WARNING: %s\n", message);
+ fflush(stdout);
}
void etLogger_logInfo(const char* message){
@@ -35,6 +37,7 @@ void etLogger_logErrorF(const char* format, ... ){ vprintf( format, arglist );
va_end( arglist );
printf("\n");
+ fflush(stdout);
}
void etLogger_logWarningF(const char* format, ... ){
@@ -44,6 +47,7 @@ void etLogger_logWarningF(const char* format, ... ){ vprintf( format, arglist );
va_end( arglist );
printf("\n");
+ fflush(stdout);
}
void etLogger_logInfoF(const char* format, ... ){
@@ -53,6 +57,7 @@ void etLogger_logInfoF(const char* format, ... ){ vprintf( format, arglist );
va_end( arglist );
printf("\n");
+ fflush(stdout);
}
etFileHandle etLogger_fopen(const char* filename, const char* mode){
|