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/dabInputRawFifo.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/dabInputRawFifo.cpp') diff --git a/src/dabInputRawFifo.cpp b/src/dabInputRawFifo.cpp index b40e14d..7076143 100644 --- a/src/dabInputRawFifo.cpp +++ b/src/dabInputRawFifo.cpp @@ -125,7 +125,7 @@ int dabInputRawFifoReadFrame(dabInputOperations* ops, void* args, result = ops->read(args, data->buffer + data->bufferOffset, size - data->bufferOffset); if (result == -1) { - etiLog.print(TcpLog::CRIT, "ERROR: Can't read fifo\n"); + etiLog.log(alert, "ERROR: Can't read fifo\n"); perror(""); return -1; } @@ -133,21 +133,21 @@ int dabInputRawFifoReadFrame(dabInputOperations* ops, void* args, if (result + data->bufferOffset < size) { data->bufferOffset += result; - etiLog.print(TcpLog::NOTICE, "reach end of fifo -> rewinding\n"); + etiLog.log(info, "reach end of fifo -> rewinding\n"); if (ops->rewind(args) == -1) { - etiLog.print(TcpLog::CRIT, "ERROR: Can't rewind fifo\n"); + etiLog.log(alert, "ERROR: Can't rewind fifo\n"); return -1; } result = ops->read(args, data->buffer + data->bufferOffset, size - data->bufferOffset); if (result == -1) { - etiLog.print(TcpLog::CRIT, "ERROR: Can't read fifo\n"); + etiLog.log(alert, "ERROR: Can't read fifo\n"); perror(""); return -1; } if (result < size) { - etiLog.print(TcpLog::CRIT, "ERROR: Not enought data in fifo\n"); + etiLog.log(alert, "ERROR: Not enought data in fifo\n"); return 0; } } -- cgit v1.2.3