Registry / logging / pingcap-log

pingcap-log

JSON →
library1.1.0gogounverified

PingCAP Log is a structured logging library for Go applications, commonly used in TiDB projects.

go get github.com/pingcap/log
INSTALL
IMPORT
SIG · PINGCAP-LOG
P
pingcap-log
logginggov1.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

log
github.com/pingcap/log

Log an info message with structured fields

package main import ( "github.com/pingcap/log" "go.uber.org/zap" ) func main() { log.Info("Hello, world!", zap.String("key", "value")) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
25 hits · last 30 days
node
20
Amazon
1
Resources
pingcap-log — go get pingcap-log · libregistry