Class FuncLogManager
- Namespace
- Splat
- Assembly
- Splat.dll
A log manager which will generate the IFullLogger by using the specified Func.
public class FuncLogManager : ILogManager
- Inheritance
-
FuncLogManager
- Implements
- Extension Methods
Remarks
Initializes a new instance of the FuncLogManager class.
Constructors
FuncLogManager(Func<Type, IFullLogger>)
A log manager which will generate the IFullLogger by using the specified Func.
public FuncLogManager(Func<Type, IFullLogger> getLoggerFunc)
Parameters
getLoggerFunc
Func<Type, IFullLogger>The function which will be used to generate the IFullLogger.
Remarks
Initializes a new instance of the FuncLogManager class.
Methods
GetLogger(Type)
Generate a IFullLogger for the specified type.
public IFullLogger GetLogger(Type type)
Parameters
type
TypeThe type to generate the logger for.
Returns
- IFullLogger
The IFullLogger for the specified type.