예제 #1
0
 private async Task Insert(string level, string component, string process, string context, string type, string stack,
                           string msg, DateTime?dateTime)
 {
     var dt        = dateTime ?? DateTime.UtcNow;
     var newEntity = LogEntity.Create(level, component, process, context, type, stack, msg, dt);
     await _tableStorage.InsertAndGenerateRowKeyAsTimeAsync(newEntity, dt);
 }