Log time in a standardized way

This commit is contained in:
Bond-009
2019-02-26 19:37:39 +01:00
parent 9bab93262e
commit 0804bed66d
4 changed files with 8 additions and 8 deletions

View File

@@ -2747,7 +2747,7 @@ namespace Emby.Server.Implementations.Data
if (elapsed >= slowThreshold)
{
Logger.LogWarning("{0} query time (slow): {1}ms. Query: {2}",
Logger.LogWarning("{0} query time (slow): {1:g}. Query: {2}",
methodName,
elapsed,
commandText);