Newton's Programmatic Measurements

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

    1.2.1 • 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');

    Keywords

    none

    Install

    npm i @yqg/logger

    DownloadsWeekly Downloads

    44

    Version

    1.2.1

    License

    none

    Unpacked Size

    8.46 kB

    Total Files

    4

    Last publish

    Collaborators

    • hongweihu
    • iuwoo
    • ykboluo
    • yqg-owner
    • jxlnljt
    • yulodl
    • center620
    • zhchy
    • guxiaodai
    • northseacoder
    • wenxiujiang
    • zzj5470816
    • lixiaoxue
    • yyh_
    • szll
    • zhayoyang