GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.
https://github.com/uber-go/zap luozhiyun很酷
https://github.com/KingOfBugbounty/KingOfBugBountyTips https://github.com/dwisiswant0/awesome-oneliner-bugbounty 比如,使用 grep 查找字符串: 查找所有内容中的 URL,使用命令行工具 gf: 最后还可以结合其他工具,比如用于发现 js 文件中的目录和参数的工具 JSFcan: https://github.com/KathanP19/JSFScan...
https://github.com/uber-go/zap
go get -u github.com/natefinch/lumberjack 导入方式: import "gopkg.in/natefinch/lumberjack.v2" 使用: 与标准库的 log 包一起使用,只需在应用程序启动时将它传递到 SetOutput 函数即可: log.SetOutput(&lumberjack.Logger{ Filename: "./log/test.log", MaxSize: 1, // 单位: MB MaxBackups: 3...
ok github.com/bigwhite/zap-usage 3.296s 我们看到zap的写日志性能是logrus的4倍,且每op仅一次内存分配,相比之下,logrus在性能和内存分配方面的确逊色不少。 有优点,就有不足。前面也说过,虽然zap在性能方面一骑绝尘,但是在使用体验方面却给开发者留下“阴影”。就比如在上面的性能基准测试中,考虑测试过程中的...
该项目是 Uber 开发的一款高性能日志库,专为那些需要快速、结构化日志记录的场景而设计。与其他 Go 语言的日志库相比,zap 的性能更为优越,尤其是在需要频繁记录日志的高并发环境中。 收录于: 第105 期 标签: Go 评论 没用过 用过 评分: 发布 暂无精选评论...
696 次提交 .github build(deps): bump codecov/codecov-action from 4 to 5 (#1470) 4个月前 assets assets: Fix logo color profile (#1418) 1年前 benchmarks Update goleak to 1.3.0 (#1384) 1年前 buffer fix: fix slice init length (#1461) ...
packagemainimport("github.com/gin-gonic/gin""go.uber.org/zap""go.uber.org/zap/zapcore""gopkg.in/natefinch/lumberjack.v2""net""net/http""net/http/httputil""os""runtime/debug""strings""time")varlogger *zap.Loggerfuncmain(){
main 1Branch1470Tags Code Folders and files Name Last commit message Last commit date Latest commit thc202 Merge pull request#6230from zapbot/bump-version Feb 27, 2025 dc37356·Feb 27, 2025 History 13,902 Commits .github build(deps): bump gradle/actions from 4.2.2 to 4.3.0 in the gha...