Skip to content

NetLogo/Custom-Logging-Extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NetLogo Custom Logging Extension

This extension allows you to write your own customized NetLogo logging entries.

Building

Run sbt package. If compilation succeeds, custom-logging.jar will be created.

Using

The Custom Logging has just a handful of primitives.

  • log-message <msg>
    • Writes to the logs the customized message <msg>. A common use of it might be something like custom-logging:log-message (word "This is the turtle count: " (count turtles)).
  • log-globals <global-name>*
    • Writes to the logs the values of each valid global variable whose name was supplied to the primitive as an argument.
  • log-all-globals
    • Writes to the logs the values of all globals in the model.
  • log-all-globals-but <global-name>*
    • Writes to the logs the values of all globals in the model but the ones whose names are supplied to the primitive as arguments.

Terms of Use

CC0

The NetLogo Custom Logging extension is in the public domain. To the extent possible under law, Uri Wilensky has waived all copyright and related or neighboring rights.

About

A mini-extension for doing customized logging events in NetLogo

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages