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/MuxElements.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/MuxElements.cpp') diff --git a/src/MuxElements.cpp b/src/MuxElements.cpp index 6790874..407c734 100644 --- a/src/MuxElements.cpp +++ b/src/MuxElements.cpp @@ -98,19 +98,19 @@ vector::iterator getService( bool dabComponent::isPacketComponent(vector& subchannels) { if (subchId > 63) { - etiLog.printHeader(TcpLog::ERR, + etiLog.log(error, "You must define subchannel id in the " "packet component before defining packet "); return false; } if (getSubchannel(subchannels, subchId) == subchannels.end()) { - etiLog.printHeader(TcpLog::ERR, + etiLog.log(error, "Invalid subchannel id in the packet component " "for defining packet "); return false; } if ((*getSubchannel(subchannels, subchId))->type != 3) { - etiLog.printHeader(TcpLog::ERR, + etiLog.log(error, "Invalid component type for defining packet "); return false; } @@ -172,7 +172,7 @@ unsigned short getSizeCu(dabSubchannel* subchannel) return (subchannel->bitrate >> 1); break; default: // Should not happens - etiLog.print(TcpLog::ERR, "Bad protection level on " + etiLog.log(error, "Bad protection level on " "subchannel\n"); return 0; } @@ -192,13 +192,13 @@ unsigned short getSizeCu(dabSubchannel* subchannel) return (subchannel->bitrate * 15) >> 5; break; default: // Should not happens - etiLog.print(TcpLog::ERR, + etiLog.log(error, "Bad protection level on subchannel\n"); return 0; } break; default: - etiLog.print(TcpLog::ERR, "Invalid protection option\n"); + etiLog.log(error, "Invalid protection option\n"); return 0; } } -- cgit v1.2.3