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

1.4.2 • Public • Published

@yqg/logger

基于 bunyan & mkdirp,使用方法如下:

import createLogger, {initRootLogger} from '@yqg/logger';

// must init before creaeLogger
initRootLogger({debug: true, logName: 'log', logDir: './log'});

const logger = createLogger('module');
logger.info('Hello');

Readme

Keywords

none

Package Sidebar

Install

npm i @yqg/logger

Weekly Downloads

21

Version

1.4.2

License

none

Unpacked Size

13.1 kB

Total Files

6

Last publish

Collaborators

  • zhenkunliu2
  • xuliangmost
  • hanyefeng
  • lwwshare
  • remmurd1
  • runrunr
  • devmsg
  • hongweihu
  • iuwoo
  • ykboluo
  • yqg-owner
  • yulodl
  • center620
  • guxiaodai
  • northseacoder
  • zzj5470816
  • yyh_
  • szll
  • zhayoyang