Commit Graph

19 Commits (bc85eaa9b14c2afef339fa6ecc9a611df4e0d09b)

Author SHA1 Message Date
Kevin Wan 69c2bad410
feat: logx with color (#1872)
* feat: logx with color

* chore: update logs

* fix test error

* chore: change colors of http codes

* chore: add comments

* chore: use faith/color instead of ascii code color

* chore: update colors

* chore: update colors

* chore: fix duplicated slowcall text

* chore: remove slowcall colors
3 years ago
Kevin Wan bf2feee5b7
feat: implement console plain output for debug logs (#1456)
* feat: implement console plain output for debug logs

* chore: rename console encoding to plain

* chore: refactor names
3 years ago
Kevin Wan a91c3907a8
feat: rename module from tal-tech to zeromicro (#1413) 3 years ago
Kevin Wan 6f1d27354a
chore: put error message in error.log for verbose mode (#1355) 3 years ago
Kevin Wan 71d40e0c08
Revert "排除客户端中断导致的503错误 (#1343)" (#1351)
This reverts commit 2cdf5e7395.
3 years ago
vic 2cdf5e7395
排除客户端中断导致的503错误 (#1343) 3 years ago
Kevin Wan ebc90720ea
feat: slow threshold customizable in rest (#1189)
* feat: slow threshold customizable in rest

* feat: slow threshold customizable in rest
3 years ago
chenquan 022c100dc9
Add request method in http log (#1120)
* Add request method in http log

* Update log format
3 years ago
Kevin Wan f669e1226c
fix #556 (#938) 3 years ago
Kevin Wan 3c6951577d
make hijack more stable (#565) 4 years ago
Kevin Wan 1a1a6f5239
add http hijack methods (#555) 4 years ago
Kevin Wan 655ae8034c
fix golint issues in rest (#529) 4 years ago
Kevin Wan 5e969cbef0
fix golint issues, else blocks (#457) 4 years ago
Kevin Wan e97e1f10db
simplify code with http.Flusher type conversion (#325)
* simplify code with http.Flusher type conversion

* simplify code with http.Flusher type conversion, better version
4 years ago
jichangyun 0bd2a0656c
The ResponseWriters defined in rest.handler add Flush interface. (#318) 4 years ago
kevin 5e99f2b85d add trace/span in http logs 4 years ago
kevin 80d55dbc02 export httpx.GetRemoteAddr 4 years ago
kevin 0a7e0cce77 update package reference 4 years ago
kevin 0897f60c5d rename ngin to rest 4 years ago