// Copyright (c) Umbraco. // See LICENSE for more details. using System.ComponentModel; namespace Umbraco.Cms.Core.Configuration.Models { /// /// Typed configuration options for core debug settings. /// [UmbracoOptions(Constants.Configuration.ConfigCoreDebug)] public class CoreDebugSettings { internal const bool StaticLogIncompletedScopes = false; internal const bool StaticDumpOnTimeoutThreadAbort = false; /// /// Gets or sets a value indicating whether incompleted scopes should be logged. /// [DefaultValue(StaticLogIncompletedScopes)] public bool LogIncompletedScopes { get; set; } = StaticLogIncompletedScopes; /// /// Gets or sets a value indicating whether memory dumps on thread abort should be taken. /// [DefaultValue(StaticDumpOnTimeoutThreadAbort)] public bool DumpOnTimeoutThreadAbort { get; set; } = StaticDumpOnTimeoutThreadAbort; } }