Registry / logging / caarlos0-log

caarlos0-log

JSON →
library0.6.0gogounverified

A simple and colorful CLI logger with structured logging support and indentation utilities.

go get github.com/caarlos0/log
INSTALL
IMPORT
SIG · CAARLOS0-LOG
C
caarlos0-log
logginggov0.6.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/caarlos0/log

Logs an info message and a structured warning.

package main import ( "github.com/caarlos0/log" ) func main() { log.Info("Hello, world!") log.WithField("key", "value").Warn("Structured log") }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
35 hits · last 30 days
node
30
OpenAI (training)
1
Resources
caarlos0-log — go get caarlos0-log · libregistry