Installing LogBox

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.






In this book we will be using the standalone namespace for all examples.

Manual Installation

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();

CommandBox Installation

You can leverage CommandBox to install the standalone version of LogBox

box install logbox

results matching ""

    No results matching ""