networkteam / sentry_client

TYPO3 Extension for exception logging with sentry, see http://www.getsentry.com
33 stars 35 forks source link

Add PSR-3 variable interpolation to log writer #67

Closed sascha-egerer closed 2 years ago

sascha-egerer commented 2 years ago

TYPO3 introduced an interpolate method in TYPO3 11 to implement the PSR-3 variable interpolation in log messages. The interpolate method must be called by the logger to replace placeholders in the log message.

So if the method exists, which means we're in TYPO3 11, it is now called in the logger.

Fixes #66

christophlehmann commented 2 years ago

Thanks! It's merged