Configuring LogBox
1. Default Configuration
component {
/**
* Configure logBox
*/
function configure(){
logBox = {
// Define Appenders
appenders : {
console : { class : "ConsoleAppender" }
},
// Root Logger
root : {
levelmax : "INFO",
appenders : "*"
}
};
}
}
// Instantiate it
application.logbox = new logbox.system.logging.LogBox();2. Portable CFC
3. Programmatic LogBoxConfig
4. Struct Literal Config
Was this helpful?