log4j-dingding

2.0.2 • Public • Published
const log4js = require('log4js')
const config = {
    appenders: {
        dingding: {
            type: 'log4j-dingding', 
            hookUrl: 'https://oapi.dingtalk.com/robot/send?access_token=',  //钉钉的hook
            secret: '',                 //钉钉的secret
            hide: true,                 //可选
            atMobiles: [''],            //可选,手机号码
            level: 'error'              //可选
        }
    }
}

Readme

Keywords

none

Package Sidebar

Install

npm i log4j-dingding

Weekly Downloads

1

Version

2.0.2

License

ISC

Unpacked Size

3.2 kB

Total Files

3

Last publish

Collaborators

  • lianghuiran