Skip to content
Unverified Commit 311b3ffa authored by Christoph Wurst's avatar Christoph Wurst
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 541751d4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment