Skip to content

asorian0/ts-logger

Repository files navigation

ts-logger

Simple logger written in TypeScript for Node.js

Build Status codecov TypeScript Coverage codebeat badge

Usage

import { Logger } from '@asoriano/ts-logger;

const logger = new Logger({
  path: './path',
  filename: 'name.log',
});

Options

Name Type Example Is optional
path string './some-relative-path' false
filename string 'app-name.log' false
loggerLogFile string '/some-path/logger.log' true

Test

Just run npm test.

Contributing

Any feedback is always welcome so please just raise an issue and will reply ASAP. Feel free to create PR if you have the time.

About

Simple logger written in TypeScript for Node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published