Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 509 Bytes

README.md

File metadata and controls

38 lines (28 loc) · 509 Bytes

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*