next($record, $logger); if (! is_string($record['message'])) { return $record; } // Decorate the error message with the "request id" if (!defined('PIWIK_TEST_MODE')) { $record['message'] = '[' . $currentRequestKey . '] ' . $record['message']; } return $record; } }