Class LoggingOptions
- Namespace
- Microsoft.EntityFrameworkCore.Diagnostics.Internal
- Assembly
- Microsoft.EntityFrameworkCore.dll
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public class LoggingOptions : ILoggingOptions, ISingletonOptions
- Inheritance
-
LoggingOptions
- Implements
- Inherited Members
Constructors
LoggingOptions()
public LoggingOptions()
Properties
DetailedErrorsEnabled
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual bool DetailedErrorsEnabled { get; set; }
Property Value
IsSensitiveDataLoggingEnabled
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual bool IsSensitiveDataLoggingEnabled { get; }
Property Value
IsSensitiveDataLoggingWarned
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual bool IsSensitiveDataLoggingWarned { get; set; }
Property Value
WarningsConfiguration
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual WarningsConfiguration WarningsConfiguration { get; }
Property Value
Methods
Initialize(IDbContextOptions)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual void Initialize(IDbContextOptions options)
Parameters
options
IDbContextOptions
ShouldWarnForStringEnumValueInJson(Type)
public virtual bool ShouldWarnForStringEnumValueInJson(Type enumType)
Parameters
enumType
Type
Returns
Validate(IDbContextOptions)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual void Validate(IDbContextOptions options)
Parameters
options
IDbContextOptions