define(['./levels-pool'],function(logLevels){'use strict';var levels=logLevels.getLevels();function ConsoleOutputHandler(formatter){this.formatter_=formatter;} ConsoleOutputHandler.prototype.show=function(entry){var displayString=this.formatter_.process(entry);switch(entry.level){case levels.ERROR:console.error(displayString);break;case levels.WARN:console.warn(displayString);break;case levels.INFO:console.info(displayString);break;case levels.DEBUG:console.log(displayString);break;}};ConsoleOutputHandler.prototype.dump=function(entries){entries.forEach(this.show,this);};return ConsoleOutputHandler;});