WarningsConfigurationBuilder.Log(CoreEventId[]) Yöntem

Tanım

Belirtilen çekirdek uyarıları oluşturulduğunda bir uyarının günlüğe kaydedilmesine neden olur. Veritabanı sağlayıcıları (ve diğer uzantılar), bu davranışı oluşturdukları uyarılarla yapılandırmak için bu yöntemin uzantı yöntemi aşırı yüklemeleri sağlayabilir.

public virtual Microsoft.EntityFrameworkCore.Infrastructure.WarningsConfigurationBuilder Log (params Microsoft.EntityFrameworkCore.Infrastructure.CoreEventId[] coreEventIds);
abstract member Log : Microsoft.EntityFrameworkCore.Infrastructure.CoreEventId[] -> Microsoft.EntityFrameworkCore.Infrastructure.WarningsConfigurationBuilder
override this.Log : Microsoft.EntityFrameworkCore.Infrastructure.CoreEventId[] -> Microsoft.EntityFrameworkCore.Infrastructure.WarningsConfigurationBuilder
Public Overridable Function Log (ParamArray coreEventIds As CoreEventId()) As WarningsConfigurationBuilder

Parametreler

coreEventIds
CoreEventId[]

CoreEventIdUyarı için olan (ler).

Döndürülenler

WarningsConfigurationBuilder

Birden çok çağrının zincirlenebilir olması için aynı Oluşturucu örneği.

Şunlara uygulanır