Naughty Platypus Memorabilia

    egg-wechatpivot

    0.0.2 • Public • Published

    egg-web

    Install

    $ npm i egg-web --save
    $ docker pull hbrls/eggjs:latest

    Usage

    // config/plugin.js
    exports.web = {
      enable: true,
      package: 'egg-web',
    };

    Logentries

    // app.js
    const LogentriesTransport = require('egg-web/transports/logentries.js');
     
    module.exports = app => {
      app.getLogger('logger').set('logentries', new LogentriesTransport({ level: 'INFO', app }));
      app.getLogger('errorLogger').set('logentries', new LogentriesTransport({ level: 'ERROR', app }));
    };

    Build-In

    1. HttpIn logging

    MIT License

    Install

    npm i egg-wechatpivot

    DownloadsWeekly Downloads

    2

    Version

    0.0.2

    License

    MIT

    Unpacked Size

    4.25 kB

    Total Files

    5

    Last publish

    Collaborators

    • hbrls