diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-01-12 21:54:07 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-01-12 21:54:07 +0100 |
commit | f1874c259259a039227517a9cd58d7017a1bef34 (patch) | |
tree | fb1cc85521a67d5efb05434fe78cb43a4098e03d /src/dabOutput/dabOutputFile.cpp | |
parent | e9c4e1762c3b7531ffe82dc26c67919ee38bfc3a (diff) | |
download | dabmux-f1874c259259a039227517a9cd58d7017a1bef34.tar.gz dabmux-f1874c259259a039227517a9cd58d7017a1bef34.tar.bz2 dabmux-f1874c259259a039227517a9cd58d7017a1bef34.zip |
replace all occurrencies of TcpLog and old etiLog
Diffstat (limited to 'src/dabOutput/dabOutputFile.cpp')
-rw-r--r-- | src/dabOutput/dabOutputFile.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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; } |