mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-22 08:46:39 -06:00
Use ISO8601 date format in the runtime startup log.
This commit is contained in:
parent
5ac656c638
commit
dd38fed6e0
@ -18,6 +18,7 @@ QFile* Logger::m_Logfile = Q_NULLPTR;
|
||||
Logger::Logger()
|
||||
{
|
||||
}
|
||||
|
||||
Logger::~Logger()
|
||||
{
|
||||
}
|
||||
@ -39,7 +40,7 @@ Logger* Logger::GetLogger()
|
||||
|
||||
void Logger::Log(const QString& sMessage)
|
||||
{
|
||||
QString text = QDateTime::currentDateTime().toString("dd.MM.yyyy hh:mm:ss ") + sMessage + "\n";
|
||||
QString text = QDateTime::currentDateTime().toString("yyyy-MM-dd hh:mm:ss: ") + sMessage + "\n";
|
||||
if (m_Logfile != Q_NULLPTR)
|
||||
{
|
||||
QTextStream out(m_Logfile);
|
||||
|
Loading…
Reference in New Issue
Block a user