cluo / klog

A replacement for the klog package that directs logging to zap.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

klog

This repo contains a package that exposes an API subset of the klog package. All logging state delivered to this package is shunted to the global zap logger.

Istio is built on top of zap logger. We depend on some downstream components that use klog for logging. This package makes it so we can intercept the calls to klog and redirect them to zap and thus produce a consistent log for our processes.

About

A replacement for the klog package that directs logging to zap.

License:Apache License 2.0


Languages

Language:Go 100.0%