2.4.0 • Published 2 years ago

@legionerri/better.log v2.4.0

Weekly downloads
-
License
GNU GPLv3
Repository
gitlab
Last release
2 years ago

better.log

GitLab tag (custom instance) npm License

More functional text output to the console

Installation

npm i @legionerri/better.log

Example usage

const betterlog = require('@legionerri/better.log')
const textColors = betterlog.colors.text
const system = new betterlog('betterlog', ['(', ')'], { prefix: textColors.red, message: textColors.blue })

system.send('hello')
system.send('world', { prefix: 'not betterlog', colors: { prefix: textColors.hex('#fff') } })

betterlog.send(`${betterlog.symbol.success} success`, 'betterlog', ['(', ')'], { prefix: textColors.red, message: textColors.rgb(84, 34, 100) })

output:

(better.log) single

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Roadmap

  • colorize log
  • eazy to customize

Authors

LegionerRI

2.4.0

2 years ago

2.2.0

2 years ago

2.1.0

2 years ago

2.0.0

2 years ago

1.1.0

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago