nmccready / angular-simple-logger

Basic logger with level logging which can also be independent.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

decorator bug angular-simple-logger.min.js (min only)

nmccready opened this issue · comments

Error when using decorator

  }(), this.decorator = ["$log", function(e) {
                var o;
                return o = new n(e), o.currentLevel = r.debug, o

will only work when

  }(), this.decorator = ["$log", function($delegate) {
                var o;
                return o = new n($delegate), o.currentLevel = r.debug, o

Wonder if we can skip this section for minify.