Skip to content

Commit 11538fc

Browse files
committed
Add other edge cases in a visual test
1 parent f2c9006 commit 11538fc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Tests/CLTLoggerTests/CLTLoggerTests.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ final class CLTLoggerTests : XCTestCase {
9191
var logger = Logger(label: "my logger")
9292
logger.logLevel = .trace
9393
logger.warning("Single line log")
94+
logger.notice("A line with \\#(escaped) characters")
95+
logger.notice("A log with a metadata whose key has a newline", metadata: ["new\nline": "yolo\nnow"])
9496
logger.trace("Mutli-line\nlog.\nHow does it feel?", metadata: ["with": "metadata"])
9597
logger.debug("Another multiline\nhere is the second line")
9698
logger.info("Another multiline\nhere is the second line")

0 commit comments

Comments
 (0)