🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@yqg/logger

Package Overview
Dependencies
Maintainers
17
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yqg/logger

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

latest
npmnpm
Version
1.4.2
Version published
Weekly downloads
3
-66.67%
Maintainers
17
Weekly downloads
 
Created
Source

@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');

FAQs

Package last updated on 20 Feb 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts