chickadee » log5scm » with-context

(with-context ctx code)syntax

This syntax is a convenient wrapper around call-with-context, that adds a slightly less verbose interface.

(with-context "Test"
  (log-for (app) "This is executed withing Test-CTX")
  (with-context "Nested"
    (log-for (app) "This is executed in a nested Context")))