Skip to content

roadmanjs/logs

Repository files navigation

Roadman - Log

A roadman for logs using debug and chalk.

How to use

yarn add @roadmanjs/log

anywhere.ts

import {log, chalk} from '@roadmanjs/log';

log("somevalue", "normal text")
log("somevalue", chalk.red("red text"))

or

app.ts

import {roadman} from 'roadman'
import {logRoadman} from '@roadmanjs/log';

await roadman({
  roadmen: [logRoadman]
});

Env required

ROADMAN=myappname
DEBUG=myappname* 

About

A Roadman for logs using debug and chalk.

Resources

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published