logging

package
v2.19.2 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package logging provides an interface for logging information to a non-confidential destination

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudLogger

type CloudLogger interface {
	// Disclose is used to log information into a **non-confidential** destination at
	// cloud provider for early-boot debugging. Make sure to **NOT** Disclose any
	// sensitive information!
	Disclose(msg string)
	io.Closer
}

CloudLogger is used to log information to a **non-confidential** destination at cloud provider for early-boot debugging. Make sure to **NOT** include any sensitive information!

type NopLogger

type NopLogger struct{}

NopLogger implements CloudLogger interface, but does nothing.

func (*NopLogger) Close

func (l *NopLogger) Close() error

Close does nothing.

func (*NopLogger) Disclose

func (l *NopLogger) Disclose(_ string)

Disclose does nothing.

Jump to

Keyboard shortcuts

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