/// <inheritdoc />
        public Task LogAsync(Exception exception, HttpActionContext context = null, CancellationToken cancellationToken = default)
        {
            var contextWrapper = new HttpActionContextWrapper(context);

            return(_logger.LogAsync(exception, contextWrapper, cancellationToken));
        }
        /// <inheritdoc />
        public void Log(Exception exception, HttpActionContext context = null)
        {
            var contextWrapper = new HttpActionContextWrapper(context);

            _logger.Log(exception, contextWrapper);
        }