mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Use coarse timestamp format
Since format in milliseconds doesn't add additional value and is slower than just seconds.
This commit is contained in:
parent
61adfea196
commit
af78344e5d
4 changed files with 7 additions and 7 deletions
|
@ -146,7 +146,7 @@ void FileLogger::addLogMessage(const Log::Msg &msg)
|
|||
stream << QStringView(u"(N) ");
|
||||
}
|
||||
|
||||
stream << QDateTime::fromMSecsSinceEpoch(msg.timestamp).toString(Qt::ISODate) << QStringView(u" - ") << msg.message << QChar(u'\n');
|
||||
stream << QDateTime::fromSecsSinceEpoch(msg.timestamp).toString(Qt::ISODate) << QStringView(u" - ") << msg.message << QChar(u'\n');
|
||||
|
||||
if (m_backup && (m_logFile.size() >= m_maxSize))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue