[ROOT] / doc / toc / ARCCore / Class / IP / Logger


Describes a logger.

NOTE: There is no effect in setting this property for classes that do not support it.
NOTE: As of Mar 2021 the only class supporting logging is PConcurrent. See Logger.

The logger is used by:
1) Methods like Log (explicit logging).
2) Implementations of IP that log PropertyAccess, like for instance logging every call to TrySetP.

As of Mar 2021 the only class doing 1) or 2) is PConcurrent. See Logger.

Note how the default property is just a dummy property. If not set, then logging will not be done.

This is a special property not used by most implementations of IP.
It is relevant for ExposingApplicationState to the PropertyStream.

Tip: A logger in a member class within a containing class can chain together with the logger of the containing class.
Tip: See AddOrRemoveOutgoingConnections for an example of how loggers are chained together.
Tip: In that example the logging for an outgoing connection uses the logger of the stream processor, but append 'ActualConnection/Outgoing/{id}/' to the context.

See also app.


Details

Generated 2024-03-29 05:31:09.142 UTC