web

package
v1.5.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	*log.Logger
	// contains filtered or unexported fields
}

Logger is a custom object that overwrites Fatal() to log the error to Kubernetes error logs file

func NewLogger

func NewLogger(name string) *Logger

NewLogger ..

func (*Logger) Fatal

func (l *Logger) Fatal(i ...interface{})

Fatal ...

func (*Logger) Fatalf

func (l *Logger) Fatalf(format string, args ...interface{})

Fatalf ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL