DbLoggerCategory Class

Definition

An API for getting logger categories in an Intellisense/tab-completion friendly manner.

Get an Entity Framework Core logger category using its Name property. For example, LoggerCategory.Database.Sql.Name.

Use these types with IDiagnosticsLogger<TLoggerCategory> or IDiagnosticsLogger<TLoggerCategory> to create a logger.

public static class DbLoggerCategory
type DbLoggerCategory = class
Public Class DbLoggerCategory
Inheritance
DbLoggerCategory

Fields

Name

The root/prefix for all Entity Framework categories.

Applies to