acuppy/jquery.log.js

View on GitHub

Showing 1 of 1 total issue

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

    log: function(options, log_level, obj) {
      var collection, output, write_to_console, _l, _s;
      _s = Logger.settings;
      _l = Logger.levels;
      if (!(window.console != null) || !_s.active || (_l[log_level] < _l[_s.log_level]) || !window.console[log_level]) {
Severity: Minor
Found in jquery.log.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language