Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 1.41 KB

README.md

File metadata and controls

31 lines (25 loc) · 1.41 KB

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.