saleem-mirza/serilog-sinks-azure-analytics

Request to provide TextFormatter to Azure Analytics LoggerConfiguration extension method

kedarshaligram opened this issue · 0 comments

Describe the bug
No provision to provide custom text formatter for LoggerConfiguration extension method AzureAnalytics()

Expected behavior
Provide extension method -

public static LoggerConfiguration AzureAnalytics(
this LoggerSinkConfiguration loggerConfiguration,
string workspaceId,
string authenticationId,
string logName = "DiagnosticsLog",
LogEventLevel restrictedToMinimumLevel = LogEventLevel.Verbose,
bool storeTimestampInUtc = true,
IFormatProvider formatProvider = null,
int logBufferSize = 2000,
int batchSize = 100,
AzureOfferingType azureOfferingType = AzureOfferingType.Public,
LoggingLevelSwitch levelSwitch = null,
bool flattenObject = true,
ITextFormatter textFormatter);