LogBox : Enterprise Logging & Messaging
7.x
Search
⌃K
7.x
Introduction
Intro
Release History
About This Book
Getting Started
Features at a Glance
Installation
Need For Logging
How Does LogBox Work?
Configuration
Configuring LogBox
Usage
Using LogBox
Using a Logger Object
Appender Properties
LogBox in a ColdBox Application
Configuration Within ColdBox
Benefits of using LogBox in a ColdBox application
Where is LogBox stored in a ColdBox app?
LogBox from the ColdBox Proxy
The LogBox Injection DSL
Extending LogBox
Creating Custom Appenders
Creating a Custom Layout
Powered By GitBook

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
Previous
Benefits of using LogBox in a ColdBox application
Next
LogBox from the ColdBox Proxy
Last modified 4mo ago
Copy link
Edit on GitHub