Table of Contents

Constructor CustomLogger

Namespace
Innova.Data.Logging
Assembly
Innova.Data.dll

CustomLogger(string, Func<bool>)

Initializes a new instance of the CustomLogger class with the specified category name and enabled state.

public CustomLogger(string categoryName, Func<bool> isEnabled)

Parameters

categoryName string

The category name for the logger.

isEnabled Func<bool>

A function that determines whether the logger is enabled.