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.
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
logbox that points to the installation folder. If you can run the following snippet, then LogBox is installed correctly:
logbox = new logbox.system.logging.LogBox();
You can leverage CommandBox to install the standalone version of LogBox
# Latest CommandBoxbox install logbox# Bleeding Edgebox install [email protected]
Info In this book we will be using the standalone namespace for all examples.