Ensure runtime feature is properly padded
This commit is contained in:
parent
1abddc3233
commit
c20933f835
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ open class SOSLSv2FormatBuilder(call: Call, channelSettings: ChannelSettings?) :
|
|||
format.append("[")
|
||||
|
||||
val differenceTime: Duration = call.creationTime.minus(Logger.Companion.initializationTime)
|
||||
format.append("${differenceTime.inWholeSeconds}.${differenceTime.inWholeMilliseconds.minus(differenceTime.inWholeSeconds.times(1000))}s")
|
||||
format.append("${differenceTime.inWholeSeconds}.${differenceTime.inWholeMilliseconds.minus(differenceTime.inWholeSeconds.times(1000)).toString().padEnd(3, '0')}s")
|
||||
|
||||
if (enabledFeatures.contains(Feature.FORMATTING))
|
||||
format.append("<reset><gray>")
|
||||
|
|
Loading…
Reference in a new issue