chickadee » log5scm » define-output

(define-output name code)syntax

Register an output with the given name. The output will be generated by evaluating code. During the evaluation of code the following parameters will be bound.

  • current-message The content of the message
  • current-category The category specification

As a convention output names start with a <.

(define-output <test-output (string-join (shuffle (string-split (current-message) " ") random) " "))