LogBox can be downloaded as a standalone framework or it is included with the latest ColdBox Platform release. The main difference between both versions is the instantiation and usage namespace, the rest is the same.
The best way to install LogBox is using CommandBox CLI and package manager.
- ColdFusion 11+
- Lucee 4.5+
If you are using LogBox within a ColdBox application context, then LogBox is part of the platform. Just install ColdBox normally. If you are using LogBox standalone, just drop LogBox in your application root or create a mapping called
logboxthat points to the installation folder. If you can run the following snippet, then LogBox is installed correctly:
logbox = new logbox.system.logging.LogBox();
# Latest CommandBox
box install logbox
# Bleeding Edge
box install logbox@be
Info In this book we will be using the standalone namespace for all examples.