xpack / logger-ts

A Node.js CommonJS/ES6 module with a generic console logger class

Home Page:https://xpack.github.io/logger-ts/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add a function to test if the level was set

ilg-ul opened this issue · comments

Currently the way to test if the level was set is to read it and check if undefined.

It would be nicer to have a hasLevel() function.

Added since 2019-01-07, in v2.1.0.