[ROOT] / doc / toc / ARCCore / Class / PKLogAttribute

DoNotLogAtAll , Initialize , IsDefault , TryRemoveP


Explains how logging of changes to a property should be done.
Describes mostly occasions where logging shall be restricted.

Normally when a class like PConcurrent is set up to log (through Logger), then every property's changes will be logged. In some cases this is too much, for instance if CountReceiveMessage was to be logged for every PropertyStream-line received, that would generate another property stream line which again would update the CountReceiveMessage value.

Utilized by for instance ActualConnection.

See also ExposingApplicationState.

See also PKLogAttributeP.


DoNotLogAtAllSee DoNotLogAtAll.
InitializeTo be overridden in sub-classes, but do note that sub-classes are supposed to call base.Initialize() at end of their own initialization.
IsDefaultDoes not have a corresponding BaseAttributeP since all attributes relevant for querying (for instance in the documentation) will be IsDefault = FALSE anyway. (if we had included it in BaseAttributeP it would just have led to a lot of confusing IsDefault = FALSE key-values showing up.)
TryRemovePShould probably never be used.

Details

Generated 2024-05-02 05:35:37.848 UTC