From f1874c259259a039227517a9cd58d7017a1bef34 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sun, 12 Jan 2014 21:54:07 +0100 Subject: replace all occurrencies of TcpLog and old etiLog --- src/dabOutput/dabOutputFile.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/dabOutput/dabOutputFile.cpp') diff --git a/src/dabOutput/dabOutputFile.cpp b/src/dabOutput/dabOutputFile.cpp index 6512c5a..79dbeee 100644 --- a/src/dabOutput/dabOutputFile.cpp +++ b/src/dabOutput/dabOutputFile.cpp @@ -59,13 +59,13 @@ int DabOutputFile::Open(const char* filename) this->type_ = ETI_FILE_TYPE_STREAMED; break; } else { - etiLog.printHeader(TcpLog::ERR, + etiLog.log(error, "File type '%s' is not supported.\n", value); return -1; } } else { - etiLog.printHeader(TcpLog::WARNING, "Parameter '%s' unknown\n", key); + etiLog.log(warn, "Parameter '%s' unknown\n", key); } } } while (nextPair != NULL); @@ -113,7 +113,7 @@ int DabOutputFile::Write(void* buffer, int size) if (write(this->file_, padding, 6144 - size) == -1) goto FILE_WRITE_ERROR; break; default: - etiLog.printHeader(TcpLog::ERR, "File type is not supported.\n"); + etiLog.log(error, "File type is not supported.\n"); return -1; } -- cgit v1.2.3