Skip to content

stackr23/logger

Repository files navigation

@stackr23/logger

beautyful console output helper with chalk extension

Build Status Greenkeeper badge Maintenance PRs Welcome
npm version Conventional Commits Semantic Versioning GitMoji

import Logger from '@stackr23/logger';

Logger.success('logger running!');
Logger.error('unexpected bahavior');
Logger.debug('casual debug info');
Logger.log('{reset.magenta custom {bgBlackBright.yellow output style}}');

gitbash-output

custom style

for custom strings you can use chalks tagged template literal syntax

TBD - CLI/bash usage

not implemented yet

npx @stackr23/logger "{yellow.bold my outout string}"

TBD

  • init options
  • log levels
  • input validation
  • CLI usage for BASH
  • ...