diff options
author | Matthias Braendli <matthias.braendli@u-blox.com> | 2015-06-02 12:25:40 +0200 |
---|---|---|
committer | Matthias Braendli <matthias.braendli@u-blox.com> | 2015-06-02 12:27:42 +0200 |
commit | e3cc55d32281be5dd7b7017d6dfed42be24d3cda (patch) | |
tree | c589cedc7bd1cabfdf1aee9a65f00037006e7c22 /src/TimestampDecoder.cpp | |
parent | 7eaba8024b95bb346247c828748d2292c226d19f (diff) | |
download | dabmod-e3cc55d32281be5dd7b7017d6dfed42be24d3cda.tar.gz dabmod-e3cc55d32281be5dd7b7017d6dfed42be24d3cda.tar.bz2 dabmod-e3cc55d32281be5dd7b7017d6dfed42be24d3cda.zip |
Logging: use etiLog instead of stderr
Diffstat (limited to 'src/TimestampDecoder.cpp')
-rw-r--r-- | src/TimestampDecoder.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/TimestampDecoder.cpp b/src/TimestampDecoder.cpp index 6063048..c833e7a 100644 --- a/src/TimestampDecoder.cpp +++ b/src/TimestampDecoder.cpp @@ -96,7 +96,7 @@ void TimestampDecoder::calculateTimestamp(struct frame_timestamp& ts) modconfig.delay_calculation_pipeline_stages); if (queue_timestamps.size() > modconfig.delay_calculation_pipeline_stages) { - myLogger.level(error) << "Error: Timestamp queue is too large : size " << + etiLog.level(error) << "Error: Timestamp queue is too large : size " << queue_timestamps.size() << "! This should not happen !"; } @@ -231,7 +231,7 @@ bool TimestampDecoder::updateModulatorOffset() } catch (bad_lexical_cast& e) { - myLogger.level(error) << + etiLog.level(error) << "Error parsing timestamp offset from file '" << modconfig.offset_filename << "'"; r = false; @@ -239,7 +239,7 @@ bool TimestampDecoder::updateModulatorOffset() } else { - myLogger.level(error) << + etiLog.level(error) << "Error reading from timestamp offset file: eof reached\n"; r = false; } @@ -247,7 +247,7 @@ bool TimestampDecoder::updateModulatorOffset() } catch (exception& e) { - myLogger.level(error) << "Error opening timestamp offset file\n"; + etiLog.level(error) << "Error opening timestamp offset file\n"; r = false; } @@ -257,7 +257,7 @@ bool TimestampDecoder::updateModulatorOffset() if (timestamp_offset != newoffset) { timestamp_offset = newoffset; - myLogger.level(info) << + etiLog.level(info) << "TimestampDecoder::updateTimestampOffset: new offset is " << timestamp_offset; offset_changed = true; |