default configurator for logging
Configure logging.
Argumentsnull
] : appender to add to the root logger, by default a console logger is added.
function (appender){ var rootLogger = Logger.getRootLogger(); rootLogger.removeAllAppenders(); if (base.isInstanceOf(appender, appenders.Appender)) { rootLogger.addAppender(appender); } else { rootLogger.addAppender(new appenders.ConsoleAppender()); } }
MIT https://github.com/C2FO/comb/raw/master/LICENSE
git clone git://github.com/C2FO/comb.git