scripts/core/augmented.js
function(type, level) {
        if (type === Augmented.Logger.Type.console) {
          return new consoleLogger(level);
        } else if (type === Augmented.Logger.Type.colorConsole) {
          return new colorConsoleLogger(level);
        } else if (type === Augmented.Logger.Type.rest) {
          return new restLogger(level);
        }
      }
function(type, level) {
        if (type === Augmented.Logger.Type.console) {
          return new consoleLogger(level);
        } else if (type === Augmented.Logger.Type.colorConsole) {
          return new colorConsoleLogger(level);
        } else if (type === Augmented.Logger.Type.rest) {
          return new restLogger(level);
        }
      }
function ( type , level ) { if ( type === Augmented . Logger . Type . console ) { return new consoleLogger ( level ) ; } else if ( type === Augmented . Logger . Type . colorConsole ) { return new colorConsoleLogger ( level ) ; } else if ( type === Augmented . Logger . Type . rest ) { return new restLogger ( level ) ; } }
getLogger - get an instance of a logger
@method getLogger
@param {Augmented.Logger.Type} type Type of logger instance
@param {Augmented.Logger.Level} level Level to set the logger to
@memberof Augmented.Logger.LoggerFactory
@returns {Augmented.Logger.abstractLogger} logger Instance of a logger by istance type
@example Augmented.Logger.LoggerFactory.getLogger(Augmented.Logger.Type.console, Augmented.Logger.Level.debug);
getLogger - get an instance of a logger