logging

package
v1.116.0 Latest Latest
Warning

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

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

Documentation

Overview

Package logging adds common logging hooks for cnrm applications

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildLogger

func BuildLogger(output io.Writer) logr.Logger

BuildLogger constructs a logr.Logger object that matches the standard configuration across cnrm applications, writing to the io.Writer passed.

func Fatal

func Fatal(err error, msg string)

Fatal is a utility function to replace log.Fatal, which doesn't exist for logr loggers.

Types

This section is empty.

Jump to

Keyboard shortcuts

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