{
m_fp.Reset(fopen(m_filename.c_str(), "w"));
if (!m_fp) {
- LogPedantic("Could not open file " << m_filename << " for writing");
+ WrtLogD("Could not open file %s for writing", m_filename.c_str());
return false;
}
return true;
{
m_fp.Reset(fopen(m_filename.c_str(), "w"));
if (!m_fp) {
- LogPedantic("Could not open file " << m_filename << " for writing");
+ WrtLogD("Could not open file %s for writing", m_filename.c_str());
return false;
}
return true;
{
m_output.open(m_filename.c_str(), std::ios_base::trunc);
if (m_output.fail()) {
- LogError("Can't open output file: " << m_filename);
+ WrtLogE("Can't open output file: %s", m_filename.c_str());
return false;
}
return true;