Go to file
Evan Chen f5a1ba9c18 perf: use single tmpl 2021-11-04 11:23:40 +08:00
color feat: add color text 2021-11-02 15:55:52 +08:00
.gitignore perf: use single tmpl 2021-11-04 11:23:40 +08:00
README.md perf: use single tmpl 2021-11-04 11:23:40 +08:00
color.go fix: import 2021-11-04 03:02:27 +08:00
go.mod rename to klog 2021-11-04 02:56:46 +08:00
go.sum update 2021-11-01 22:38:30 +08:00
log.go perf: use single tmpl 2021-11-04 11:23:40 +08:00
log_test.go fix: import 2021-11-04 03:02:27 +08:00
std.go fix: import 2021-11-04 03:02:27 +08:00
util.go fix: import 2021-11-04 03:02:27 +08:00

README.md

Logging with color and format string

Test

Mem: go test -o tests/test.exe -memprofile tests/mem && go tool pprof -http : tests/mem Cpu: go test -o tests/test.exe -cpuprofile tests/cpu && go tool pprof -http : tests/cpu