Skip to content

Commit dbd3571

Browse files
committed
improve Record formatting in test logger
1 parent f72593f commit dbd3571

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ci/LDKSwift/Tests/LDKSwiftTests/TestLogger.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import LDKHeaders
1111
class TestLogger: Logger {
1212

1313
override func log(record: Record) {
14-
print("some abstract log thing")
14+
print("\nRLLogger (\(record.get_level())): \(record.get_file()):\(record.get_line()):\n> \(record.get_args())\n")
1515
}
1616

1717
}

xcode/DirectBindingsApp/DirectBindingsAppTests/test-batteries/TestLogger.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
class TestLogger: Logger {
99

1010
override func log(record: Record) {
11-
print("log event: \(record.get_args())")
11+
print("\nRLLogger (\(record.get_level())): \(record.get_file()):\(record.get_line()):\n> \(record.get_args())\n")
1212
}
1313

1414
}

0 commit comments

Comments
 (0)