Пример #1
0
        private Task LogAsync(LogMessage log)
        {
            LogLevel logLevel = LoggingService.ConvertLogLevel(log.Severity);

            logger?.Log(logLevel, log.Message, log.Exception);
            return(Task.CompletedTask);
        }