ts-simple-logger
v1.0.0
Published
A simple logger for TypeScript based projects
Readme
ts-logger
Simple logger written in TypeScript for Node.js
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.
