@roadmanjs/logs
v1.1.5
Published
A Roadman for logs
Downloads
16
Readme
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*