Click or drag to resize
LoggingPolicy Class
Logging policy allows to limit the number of logged events.
Inheritance Hierarchy
SystemObject
  CMS.CoreLoggingPolicy

Namespace: CMS.Core
Assembly: CMS.Core (in CMS.Core.dll) Version: 12.0.0
Syntax
C#
public class LoggingPolicy

The LoggingPolicy type exposes the following members.

Constructors
  NameDescription
Public methodCode exampleLoggingPolicy
Creates new logging policy of type OncePerPeriod.
Top
Fields
  NameDescription
Public fieldStatic memberDEFAULT
Default logging policy ensures that events are always logged.
Public fieldStatic memberONLY_ONCE
Policy ensures that events are logged only once per application lifetime.
Top
Properties
  NameDescription
Public propertyPeriod
Logging period.
Public propertyType
Logging policy type.
Top
See Also