(level: LogLevel)
| 94 | private static maxLevelLength = Math.max(...validLogLevels.map((level) => level.length)) |
| 95 | |
| 96 | private static formatLevel(level: LogLevel): Fragment { |
| 97 | return { |
| 98 | fmt: '%c%s%c', |
| 99 | params: [levelStyles[level], level.toUpperCase().padEnd(TextFormatter.maxLevelLength), 'color: initial'], |
| 100 | } |
| 101 | } |
| 102 | |
| 103 | private static formatTimestamp(timestamp: Temporal.Instant): Fragment { |
| 104 | return { |