For the complete documentation index, see llms.txt. This page is also available as Markdown.

Where is LogBox stored in a ColdBox app?

The LogBox instance is stored in the ColdBox main controller object (coldbox.system.web.Controller) and you can retrieve it like so from any handler, or interceptor.

logBox = getController().getLogBox();
// or 
logBox

Was this helpful?