Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Schuetz2012-01-18 10:09:03 +0000
committerThomas Schuetz2012-01-18 10:09:03 +0000
commit4ff0a97045e63ba53a013a5f680328d359854731 (patch)
tree5aec185ec467ffe2f087d1131a6b888500238799 /runtime/org.eclipse.etrice.runtime.c/src/etLogger.c
parent3a48b46b2613b03230e97c909846244ba8034fb1 (diff)
downloadorg.eclipse.etrice-4ff0a97045e63ba53a013a5f680328d359854731.tar.gz
org.eclipse.etrice-4ff0a97045e63ba53a013a5f680328d359854731.tar.xz
org.eclipse.etrice-4ff0a97045e63ba53a013a5f680328d359854731.zip
[runtime.c] cleaned up
Diffstat (limited to 'runtime/org.eclipse.etrice.runtime.c/src/etLogger.c')
-rw-r--r--runtime/org.eclipse.etrice.runtime.c/src/etLogger.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/runtime/org.eclipse.etrice.runtime.c/src/etLogger.c b/runtime/org.eclipse.etrice.runtime.c/src/etLogger.c
index bbba4a628..9d58dd2ca 100644
--- a/runtime/org.eclipse.etrice.runtime.c/src/etLogger.c
+++ b/runtime/org.eclipse.etrice.runtime.c/src/etLogger.c
@@ -24,18 +24,15 @@
void etLogger_logError(const char* message){
- printf("ERROR: %s", message);
- printf("\n");
+ printf("ERROR: %s\n", message);
}
void etLogger_logWarning(const char* message){
- printf("WARNING: %s", message);
- printf("\n");
+ printf("WARNING: %s\n", message);
}
void etLogger_logInfo(const char* message){
- printf("INFO: %s", message);
- printf("\n");
+ printf("INFO: %s\n", message);
}
void etLogger_logErrorF(const char* format, ... ){
@@ -78,5 +75,4 @@ void etLogger_fprintf(etFileHandle file, const char* format, ... ){
va_start( arglist, format );
vfprintf(file, format, arglist );
va_end( arglist );
-
}

Back to the top