Share via


LoggerCategory<T> Class

Definition

Generic helper class used to implement the Name property.

public abstract class LoggerCategory<T>
type LoggerCategory<'T> = class
Public MustInherit Class LoggerCategory(Of T)

Type Parameters

T

The logger category type.

Inheritance
LoggerCategory<T>
Derived

Remarks

See Logging, events, and diagnostics for more information and examples.

Constructors

LoggerCategory<T>()

Properties

Name

The logger category name, for use with ILoggerProvider, etc.

Methods

ToString()

The logger category name.

Operators

Implicit(LoggerCategory<T> to String)

The logger category name.

Applies to