Nicer Package Manager

    logger4
    TypeScript icon, indicating that this package has built-in type declarations

    2.1.5 • Public • Published

    logger4

    Install via npm

    npm i logger4
    

    Example usage

    // Logger.ts
    import Logger4 from 'logger4';
    import * as path from 'path';
    
    export let Logger = new Logger4({
        printEnabled: true,
        path: path.join(process.cwd(), 'log'),
        directorySizeLimitMB: 3000
    });
    
    // script.ts
    Logger.info('Hello World!');
    Logger.info('{[0]} {[1]}', 'p1', 'p2');

    Keywords

    Install

    npm i logger4

    DownloadsWeekly Downloads

    13

    Version

    2.1.5

    License

    ISC

    Unpacked Size

    59.5 kB

    Total Files

    43

    Last publish

    Collaborators

    • szombatipeter