Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
@@ -42,7 +42,7 @@ data class LogEntry(val timestamp: Date, val level: Level, val tag: String, val
*/
private val ENTRY_PARSE_REGEXP = Regex(
pattern =
- """(\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z);([ADEIVW]);([^;]+);(.*)"""
+ """(\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z);([ADEIVW]);([^;]+);(.*)"""
)
@JvmStatic
@@ -93,7 +93,7 @@ class LogEntryTest {
timestamp = Date(0),
level = Level.DEBUG,
tag =
- """靖康緗素雜記""",
+ """靖康緗素雜記""",
message = "夏炉冬扇"
assertEquals("1970-01-01T00:00:00.000Z;D;靖康緗素雜記;夏炉冬扇", entry.toString())