lib/logging/config.js
function (appender) {
            var rootLogger = Logger.getRootLogger();
            rootLogger.removeAllAppenders();
            if (base.isInstanceOf(appender, appenders.Appender)) {
                rootLogger.addAppender(appender);
            } else {
                rootLogger.addAppender(new appenders.ConsoleAppender());
            }
        }
function (appender) {
            var rootLogger = Logger.getRootLogger();
            rootLogger.removeAllAppenders();
            if (base.isInstanceOf(appender, appenders.Appender)) {
                rootLogger.addAppender(appender);
            } else {
                rootLogger.addAppender(new appenders.ConsoleAppender());
            }
        }
function ( appender ) { var rootLogger = Logger . getRootLogger ( ) ; rootLogger . removeAllAppenders ( ) ; if ( base . isInstanceOf ( appender , appenders . Appender ) ) { rootLogger . addAppender ( appender ) ; } else { rootLogger . addAppender ( new appenders . ConsoleAppender ( ) ) ; } }
Configure logging.

@param {comb.logging.Appender} [appender=null] appender to add to the root logger, by default a console logger is added.
Configure logging .