Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReplaceGlobals ¶
func ReplaceGlobals(logger *logWrapper)
ReplaceGlobals replaces the global Logger. It's safe for concurrent use.
func UpdateLogLevel ¶ added in v0.2.0
Types ¶
type PromErrLogger ¶ added in v0.2.0
type PromErrLogger struct {
// contains filtered or unexported fields
}
PromErrLogger is a logger used by prometheus http server.
func NewPromErrLogger ¶ added in v0.2.0
func NewPromErrLogger() *PromErrLogger
func (*PromErrLogger) Println ¶ added in v0.2.0
func (p *PromErrLogger) Println(v ...interface{})
Println implement promhttp.Logger interface
Click to show internal directories.
Click to hide internal directories.