Skip to content

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

  1. public static ILoggerFactory AddSplat(this ILoggerFactory loggerFactory)

  2. public static ILoggingBuilder AddSplat(this ILoggingBuilder builder)

1. Overload

public static ILoggerFactory AddSplat(this ILoggerFactory loggerFactory)

View source (opens in a new tab)

Parameters

NameTypeDescription
loggerFactoryILoggerFactory (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

NameTypeDescription
builderILoggingBuilder (opens in a new tab)--

Returns: ILoggingBuilder (opens in a new tab)