Skip to content

Applies to

net11.0, net10.0, net47, net471, net472, net48, net481

public FuncLogManager(Func<Type, IFullLogger> getLoggerFunc)

View source

Summary: Provides an implementation of ILogManager that retrieves loggers using a supplied delegate.

Parameters

NameTypeDescription
getLoggerFuncFuncA function that returns an [IFullLogger](# instance for a given Type. 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.