1.0.23 • Published 5 years ago
@gaoding/egg-hlg-logger v1.0.23
******************************************************************
******************************************************************
********** 代码千万行,注释第一行 **********
********** 编码不规范,同事泪两行 **********
******************************************************************
******************************************************************
@gaoding/egg-hlg-logger
Install
$ npm i @gaoding/egg-hlg-logger --save
Usage
// {app_root}/config/plugin.js
exports.hlgLogger = {
enable: true,
package: '@gaoding/egg-hlg-logger',
};
Configuration
// {app_root}/config/config.default.js
exports.hlgLogger = {
logServer: 'udp:xxx.xxx.xxx.xxx:xxxx', // 日志服务器地址,必填
logStdio: true, // 是否输出调试信息到控制台,仅推荐开发环境开启,默认:false
logEnv: '', // 每条日志默认的环境值,[dev|stage|prod],默认:空字符串
level: 'NONE', // 日志级别,由高到低:[ALL|ERROR|WARN|INFO|DEBUG|NONE],默认:NONE
appName: 'oms_api', // 应用名称(日志服务索引名称),必填
};
License
1.0.23
5 years ago
1.0.22
6 years ago
1.0.21
6 years ago
1.0.20
6 years ago
1.0.18
6 years ago
1.0.17
6 years ago
1.0.16
6 years ago
1.0.14
6 years ago
1.0.13
6 years ago
1.0.12
6 years ago
1.0.11
6 years ago
1.0.10
6 years ago
1.0.9
6 years ago
1.0.8
6 years ago
1.0.7
6 years ago
1.0.6
6 years ago
1.0.5
6 years ago
1.0.4
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago
0.1.14
6 years ago
0.1.13
6 years ago
0.1.12
6 years ago
0.1.11
6 years ago
0.1.10
6 years ago
0.1.9
6 years ago
0.1.8
6 years ago
0.1.7
6 years ago
0.1.6
6 years ago
0.1.5
6 years ago
0.1.4
6 years ago
0.1.3
6 years ago
0.1.2
6 years ago
0.1.1
6 years ago
0.1.0
6 years ago