yarn add log-horizon
const LogHorizon = require('log-horizon')
const logger = new LogHorizon()
Check out the example code, preview:
Type: number
Default: 3
-
1
:error
-
2
:warn
-
3
:info
-
4
:debug
Type: boolean
A shortcut to set options.logLevel
to 4
.
Type: boolean
A shortcut to set options.logLevel
to 1
.
Type: boolean
Default: true
Use log-update
module instead of console.log
.
Type: string
Default: 'emoji'
Possible values: 'emoji'
'badge'
'text'
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
log-horizon © egoist, Released under the MIT License.
Authored and maintained by egoist with help from contributors (list).
github.com/egoist · GitHub @egoist · Twitter @_egoistlily