Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix
  • Loading branch information
panbingkun committed Apr 2, 2024
commit 3cf47faff118f61ebe54a380f483d5a5102387fd
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ trait LoggingSuiteBase
log"Hello $basicMsg, Lost executor ${MDC(EXECUTOR_ID, "1")}."

def concatMDCAndString: LogEntry =
(log"Lost executor ${MDC(EXECUTOR_ID, "1")}." ++ s" Hello $basicMsg.")
log"Lost executor ${MDC(EXECUTOR_ID, "1")}." ++ s" Hello $basicMsg."

def concatStringAndMDC: LogEntry =
(s"Hello $basicMsg, " ++ log"Lost executor ${MDC(EXECUTOR_ID, "1")}.")
s"Hello $basicMsg, " ++ log"Lost executor ${MDC(EXECUTOR_ID, "1")}."

def expectedPatternForMsgWithMDC(level: Level): String

Expand Down