Documentation
¶
Overview ¶
Package glogr implements github.com/go-logr/logr.Logger in terms of github.com/golang/glog.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWithOptions ¶ added in v0.2.0
NewWithOptions returns a logr.Logger which is implemented by glog.
Types ¶
type Options ¶ added in v0.2.0
type Options struct {
// DepthOffset biases the assumed number of call frames to the "true"
// caller. This is useful when the calling code calls a function which then
// calls glogr (e.g. a logging shim to another API). Values less than zero
// will be treated as zero.
Depth int
}
Click to show internal directories.
Click to hide internal directories.