protected static function replaceContext($message, array $context = []) {
            if (empty($context)) {
                return $message;
            } else {
                $search = $replace = [];

                foreach ($context as $k => $v) {
                    $search[] = '{' . $k . '}';
                    $replace[] = $v;
                }

                return str_ireplace($search, $replace, $message);
            }
        }