Partager via


LoggingSettings.LogWarningWhenNoCategoriesMatch Property

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Gets or sets the indication that a warning should be logged when a category is not found while dispatching a log entry.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Logging.Configuration
Assembly:  Microsoft.Practices.EnterpriseLibrary.Logging (in Microsoft.Practices.EnterpriseLibrary.Logging.dll)

Syntax

'Declaration
<ConfigurationPropertyAttribute("logWarningsWhenNoCategoriesMatch")> _
PublicPropertyLogWarningWhenNoCategoriesMatchAs Boolean
[ConfigurationPropertyAttribute("logWarningsWhenNoCategoriesMatch")]
public bool LogWarningWhenNoCategoriesMatch { get; set; }
[ConfigurationPropertyAttribute(L"logWarningsWhenNoCategoriesMatch")]
public:
property bool LogWarningWhenNoCategoriesMatch {
    bool get ();
    voidset (bool value);
}
publicfunction getLogWarningWhenNoCategoriesMatch () : boolean
publicfunction setLogWarningWhenNoCategoriesMatch (value : boolean)

See Also

LoggingSettings Class

Microsoft.Practices.EnterpriseLibrary.Logging.Configuration Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.