in the older versions of cb you could use ${appName} for example in
the declarations to configure your settings in one place
how would you accomplish this in 3.0?
example:
//LogBox DSL
logBox = {
// Register Appenders
appenders = {
MyAsycFile = {
class="coldbox.system.logging.appenders.FileAppender",
properties={filePath=GetDirectoryFromPath(GetBaseTemplatePath())
&
"logs",fileName="RetailHub",autoExpand=false,fileMaxArchives=3,fileMaxSize=2000}
}
},
// Root Logger
root = { levelmax="INFO", appenders="*" },
// Implicit Level Categories
info = [ "coldbox.system" ]
};
I would like to use ${appName} for the fileName
fileName=${appName} instead of fileName="RetailHub"