Skip to content
Commit cfce6dfe authored by Christoph Wurst's avatar Christoph Wurst Committed by backportbot[bot]
Browse files

Interpolate the log message also for logged exceptions



According to PSR-3 the log message can have placeholders that are
replaced from the context object. Our logger implementation did that for
all PSR-3 logger methods. The only exception was our custom `logException`.

Since PsrLoggerAdapter calls logException when an exception key is
present in the context object, log messages were no longer interpolated.

Signed-off-by: default avatarChristoph Wurst <christoph@winzerhof-wurst.at>
parent de79073c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment