better-js-logging/console-logger

View on GitHub

Showing 2 of 7 total issues

Function ConsoleLogger has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    var ConsoleLogger = function(sprintf, moment) {
        var self = this;

        var logEnhancer = new LoggingEnhancer(sprintf, moment);

Severity: Minor
Found in src/console-logger.js - About 1 hr to fix

    Function enhanceLogging has 32 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            this.enhanceLogging = function(console) {
                if (!logDebug) {
                    logDebug = console.debug;
                    logLog = console.log;
                    logInfo = console.info;
    Severity: Minor
    Found in src/console-logger.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language