The location embedded in the log record was styled with crossterm: a remote consumer of pkh's log records would receive ANSI codes inside the message text. Plain text is the logger's business to style.