update logger

This commit is contained in:
badaix 2017-07-24 18:59:49 +02:00
parent 2955b20e9d
commit ce55f15c02
36 changed files with 967 additions and 389 deletions

View file

@ -71,7 +71,7 @@ bool OggDecoder::decode(msg::PcmChunk* chunk)
if (result < 0)
{
/* missing or corrupt data at this page position */
logE << "Corrupt or missing data in bitstream; continuing...\n";
LOG(ERROR) << "Corrupt or missing data in bitstream; continuing...\n";
continue;
}
@ -229,11 +229,11 @@ SampleFormat OggDecoder::setHeader(msg::CodecHeader* chunk)
std::string comment(*ptr);
if (comment.find("SAMPLE_FORMAT=") == 0)
sampleFormat_.setFormat(comment.substr(comment.find("=") + 1));
logO << "comment: " << comment << "\n";;
LOG(INFO) << "comment: " << comment << "\n";;
++ptr;
}
logO << "Encoded by: " << vc.vendor << "\n";
LOG(INFO) << "Encoded by: " << vc.vendor << "\n";
return sampleFormat_;
}