@akibrk/logger
v1.0.0
Published
Lightweight logger typescript
Downloads
3
Readme
Logger
Logger for typescript
Usage
import { Logger } from '@akibrk/logger';
_logger = new Logger('main.ts');
_logger.log('Hello, Main');
Log Levels
- development
- production
- error
Default is development, debug will be disabled in production mode.
You can set the logLevel by logger.logLevel = 'environment'