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

Log all behaviours

BehaviourComposer: ignore everything before this.

Begin micro-behaviour:

Begin description:

Whenever a behaviour is added to this agent, the event is logged in the output window.

End description

Log all behaviours

Begin NetLogo code:

set log-behaviours true

End NetLogo code

How this works

This sets a flag that the generated NetLogo uses to output the log area if a behaviour is added.

Related micro-behaviours

Log specified behaviours logs only the specified micro-behaviours.


Log all behaviours was implemented by Ken Kahn.

BehaviourComposer: ignore everything after this.