Ejemplo n.º 1
0
void TFileLogger::log(const TLog &tlog)
{
    log(logToByteArray(tlog));
}
Ejemplo n.º 2
0
/*!
  Converts the log \a log to its textual representation and returns
  a QByteArray containing the data.
*/
QByteArray TLogger::logToByteArray(const TLog &log) const
{
    return logToByteArray(log, layout(), dateTimeFormat(), codec_);
}