Skip to content

Applies to

net10.0, net9.0, net8.0, net462, 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.