Compare commits

...

2 Commits

Author SHA1 Message Date
f2bd83a8dc chore(release): publish
- @egg/net-tool@1.16.0
2024-11-26 11:30:59 +00:00
a686b903be feat(net-tool): 将日志打印级别从http修改为silly
All checks were successful
/ release (push) Successful in 23s
2024-11-26 11:30:37 +00:00
4 changed files with 9 additions and 3 deletions

2
package-lock.json generated
View File

@ -12394,7 +12394,7 @@
},
"packages/net-tool": {
"name": "@egg/net-tool",
"version": "1.15.1",
"version": "1.16.0",
"license": "ISC",
"dependencies": {
"@egg/logger": "^1.5.0",

View File

@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.16.0](http://yingbo.im:3000/zhaoyingbo/egg_tools/compare/@egg/net-tool@1.15.1...@egg/net-tool@1.16.0) (2024-11-26)
### Features
- **net-tool:** 将日志打印级别从http修改为silly ([a686b90](http://yingbo.im:3000/zhaoyingbo/egg_tools/commits/a686b903be8d80445edcab2149c82d3983e083f7))
## [1.15.1](http://yingbo.im:3000/zhaoyingbo/egg_tools/compare/@egg/net-tool@1.15.0...@egg/net-tool@1.15.1) (2024-11-26)
**Note:** Version bump only for package @egg/net-tool

View File

@ -1,6 +1,6 @@
{
"name": "@egg/net-tool",
"version": "1.15.1",
"version": "1.16.0",
"description": "Net Tools for Egg projects",
"type": "module",
"main": "src/index.ts",

View File

@ -117,7 +117,7 @@ class NetToolBase {
requestTime,
responseTime: new Date().getTime(),
}
this.logger.http(JSON.stringify(responseLog, null, 2))
this.logger.silly(JSON.stringify(responseLog, null, 2))
return responseLog
}