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