public SetPartitionAndRowKeyForLogBySeverity ( ) : void | ||
return | void |
public void SetPartitionAndRowKeyForLogBySeverity()
{
PartitionKey = ((int)(Enum.GetValues(typeof(LogLevelEnum)).Cast<LogLevelEnum>().Max() - Level)).ToString("D2");
RowKey = $"{DateTimeOffset.MaxValue.Ticks - LoggedAt.Ticks:D19}{Guid.NewGuid()}";
}