egg-logger icon indicating copy to clipboard operation
egg-logger copied to clipboard

Egg logger

Results 7 egg-logger issues
Sort by recently updated
recently updated
newest added

调整因文件切割等原因导致的日志写入异常拦截位置 ##### Checklist - [x] `npm test` passes - [x] tests and/or benchmarks are included - [x] documentation is changed or added - [x] commit message follows commit guidelines #####...

bug

##### Checklist - [x] `npm test` passes - [x] tests and/or benchmarks are included - [x] documentation is changed or added - [x] commit message follows commit guidelines ##### Affected...

enhancement

##### Checklist - [x] `npm test` passes - [x] tests and/or benchmarks are included - [x] documentation is changed or added - [x] commit message follows commit guidelines ##### Affected...

使用一个定长数组作为buf, 减少因为数组resize导致的额外realloc开销。 在个人电脑上 utf8的性能提高5%左右,非utf8有微小提升。 测试机器: MacBook Pro (13-inch, 2017, Two Thunderbolt 3 ports) 8 GB 2133 MHz LPDDR3 256G ssd

##### Checklist - [x] `npm test` passes - [x] tests and/or benchmarks are included - [x] documentation is changed or added - [x] commit message follows commit guidelines ##### Affected...

代码里面因为这[一行代码](https://github.com/eggjs/egg-logger/blob/5f38776943d6e0b7154e6ec12207a57c79894e87/lib/utils.js#L142)所有json 格式都会被拍扁。 contextFormatter自定义时,meta.message 就是处理过的参数,我要是想得到原始的args,有什么办法吗? 期望message里面输出一个标注json字符串 现在是util.format处理过的message 这个有地方覆盖吗?或者自定义吗?