)> Defined in Type: FuncLogManager Namespace: Splat Assembly: Splat.Logging.dll
Applies to
net11.0, net10.0, net47, net471, net472, net48, net481
public FuncLogManager(Func<Type, IFullLogger> getLoggerFunc)
View source (opens in a new tab)
Summary: Provides an implementation of ILogManager that retrieves loggers using a supplied delegate.
Parameters
| Name | Type | Description |
|---|---|---|
getLoggerFunc | Func | A function that returns an [IFullLogger](#Splat.IFullLogger) instance for a given Type (opens in a new tab). Cannot be null. |
Remarks
Use this class to integrate custom logger retrieval logic, such as dependency injection or factory patterns, by supplying an appropriate delegate.