Showing 2 of 7 total issues
Function ConsoleLogger
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var ConsoleLogger = function(sprintf, moment) {
var self = this;
var logEnhancer = new LoggingEnhancer(sprintf, moment);
Function enhanceLogging
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.enhanceLogging = function(console) {
if (!logDebug) {
logDebug = console.debug;
logLog = console.log;
logInfo = console.info;