MicrosoftExtensionsLoggingExtensions.AddSplat(ILoggerFactory) method¶
Defined in
Type: MicrosoftExtensionsLoggingExtensions
Namespace: Splat.Microsoft.Extensions.Logging
Assembly: Splat.Microsoft.Extensions.Logging.dll
Applies to
net11.0, net10.0, net471, net47, net472, net48, net481
Overloads¶
-
public static ILoggerFactory AddSplat(this ILoggerFactory loggerFactory) -
public static ILoggingBuilder AddSplat(this ILoggingBuilder builder)
1. Overload¶
public static ILoggerFactory AddSplat(this ILoggerFactory loggerFactory)
View source (opens in a new tab)
Parameters
| Name | Type | Description |
|---|---|---|
loggerFactory | ILoggerFactory (opens in a new tab) | -- |
Returns: ILoggerFactory (opens in a new tab)
2. Overload¶
public static ILoggingBuilder AddSplat(this ILoggingBuilder builder)
View source (opens in a new tab)
Parameters
| Name | Type | Description |
|---|---|---|
builder | ILoggingBuilder (opens in a new tab) | -- |
Returns: ILoggingBuilder (opens in a new tab)