Libraries‎ > ‎Library‎ > ‎Logging‎ > ‎

Log specified patch attributes

BehaviourComposer: ignore everything before this.

Begin micro-behaviour

Begin description:

Add to the log area the values of the listed patch attributes of this patch on every change.

End description

Log specified patch attributes

Begin NetLogo code:
substitute-text-area-for attribute-names "energy-of-patch" "water-of-patch" 
set log-patch-attributes [attribute-names] ; quoted and separated by spaces
End NetLogo code

Related Micro-behaviours

Log all patch attributes logs the value of all patch variables. Add behaviours to all patches can be used to add this to all patches. A subset of all patches can be specified using Add a list of behaviours to another agent or set of agents.


Log specified patch attributes was implemented by Ken Kahn on 3 June 2011.

BehaviourComposer: ignore everything after this.