コード例 #1
0
        public async Task PersistAsync(IRequestInfo requestInfo)
        {
            var    dto         = new RequestInfoDTO(requestInfo);
            string jsonMessage = JsonConvert.SerializeObject(dto, _builder.JsonFormatting);

            _logger.Log(requestInfo.GetHighestLevel(), jsonMessage);
        }