Root / Assembly / ARCCore / AREnumType / OrdinaryEnum / PropertyStreamLinePrefix / _Member



cmdCommand, like cmd/

Description, EnumMember, EnumType
docDocumentation, like doc/.
See also LinkInsertionInDocumentation.

Description, EnumMember, EnumType
dtData, like dt/

Description, EnumMember, EnumType
logLog, like log/

StandardAgoRapideCode practises using 'log/' as first element of context for log-data. This is in order to easily discern log data from the ordinary PropertyStream data.
This is a choice made out of the assumption that log data is special, for instance, it is not critical to keep it for very long periods of time so DataRetention will be done differently.

Logging is kind of inbuilt in AgoRapide. The PropertyStream 'is' the log and if you need to insert additional log
information they are just new properties to be added to the stream.

A logging console is likewise just a Client which subscribes to the whole or part of the PropertyStream (for instance like Subscripton = 'log/*').
NOTE: You could have as many log-consoles as you prefer (each with different subscriptions), in order to follow specific parts of the system.

In addition to the inbuilt log-characteristics of the PropertyStream you can insert additional log-data through two main methods:

Method A) Call to Log (this can also be instructed to log to the local console). Note overloads to this methods encouraging you to supply a set of data-points (set of (key, values) tuples), instead of just some loose text.

Method B) Use a class like PConcurrent with concept of LogContext, this will log any changes to the class (especially useful for exposing ExposingApplicationState).

See also Log, HandleException, ExposingApplicationState.

Description, EnumMember, EnumType

4 items

Generated 2020-10-13 11:11:01.446 UTC