public function interpolate($string, array $params, $level)
    {
        foreach ($params as $placeholder => $value) {
            $params['{'.(string) $placeholder.'}'] = (string) $value;
            unset($params[$placeholder]);
        }
        $message = strtr($string, $params);
        $this->writer($level, $message);
        $this->store([
            'message' => $message,
            'level'   => $level,
        ]);
    }