nmccready / angular-simple-logger

Basic logger with level logging which can also be independent.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

follow typical log-level conventions

zacronos opened this issue · comments

See some examples here:

logger.log should always log, as the name indicates. logger.debug is more detailed / less important than logger.info.

Thanks my bad on this.

I will switch the levels to:

LEVELS =
    debug: 1
    info: 2
    warn: 3
    error: 4
    log: 5