summaryrefslogtreecommitdiffstats
path: root/src/dabInputDmbFile.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-01-12 21:54:07 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-01-12 21:54:07 +0100
commitf1874c259259a039227517a9cd58d7017a1bef34 (patch)
treefb1cc85521a67d5efb05434fe78cb43a4098e03d /src/dabInputDmbFile.cpp
parente9c4e1762c3b7531ffe82dc26c67919ee38bfc3a (diff)
downloaddabmux-f1874c259259a039227517a9cd58d7017a1bef34.tar.gz
dabmux-f1874c259259a039227517a9cd58d7017a1bef34.tar.bz2
dabmux-f1874c259259a039227517a9cd58d7017a1bef34.zip
replace all occurrencies of TcpLog and old etiLog
Diffstat (limited to 'src/dabInputDmbFile.cpp')
-rw-r--r--src/dabInputDmbFile.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dabInputDmbFile.cpp b/src/dabInputDmbFile.cpp
index a057764..a39878c 100644
--- a/src/dabInputDmbFile.cpp
+++ b/src/dabInputDmbFile.cpp
@@ -106,7 +106,7 @@ int dabInputDmbFileRead(dabInputOperations* ops, void* args, void* buffer, int s
input->stats.frameRecords[input->stats.frameCount].curSize = nbBytes;
input->bufferLength = fread(input->buffer, 188, 1, input->file);
if (input->bufferLength == 0) {
- etiLog.print(TcpLog::NOTICE, "reach end of file -> rewinding\n");
+ etiLog.log(info, "reach end of file -> rewinding\n");
if (fseek(input->file, 0, SEEK_SET) == 0) {
input->bufferLength = fread(input->buffer, 188, 1, input->file);
}
@@ -120,14 +120,14 @@ int dabInputDmbFileRead(dabInputOperations* ops, void* args, void* buffer, int s
}
if (++stats->frameCount == NB_RECORDS) {
- etiLog.print(TcpLog::INFO, "Data subchannel usage: (%i)",
+ etiLog.log(info, "Data subchannel usage: (%i)",
stats->id);
for (int i = 0; i < stats->frameCount; ++i) {
- etiLog.print(TcpLog::INFO, " %i/%i",
+ etiLog.log(info, " %i/%i",
stats->frameRecords[i].curSize,
stats->frameRecords[i].maxSize);
}
- etiLog.print(TcpLog::INFO, "\n");
+ etiLog.log(info, "\n");
stats->frameCount = 0;
}
return size;