@akibrk/logger
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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'

/@akibrk/logger/

    Package Sidebar

    Install

    npm i @akibrk/logger

    Weekly Downloads

    2

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    11 kB

    Total Files

    11

    Last publish

    Collaborators

    • akibrk