Just a small logger class using chalk.
Based on the Logger class from SquadJS
You can install logger using the following command
npm install @skyraptor/logger
import Logger from '@skyraptor/logger'
import chalk from 'chalk'
// Determine how much to show of a module
Logger.setVerboseness('MyModule', 4)
// Set color for a module using ChalkInstance or string
Logger.setColor('MyModule', chalk.blue)
// Log message to console with verbosity 3
Logger.verbose('MyModule', 3, 'Hello World!')
- Thomas for creating SquadJS and the Logger class