logger

package
v0.0.0-...-3c26fc4 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Package logger GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE

Index

Constants

View Source
const LogAttrSpanName = "$$spanName"

Variables

View Source
var TracerContext = contextx.New[trace.Tracer]()

Functions

func NewFrontend

func NewFrontend() idtui.Frontend

Types

type Logger

type Logger struct {
	Enabled logr.Level
	// contains filtered or unexported fields
}

func (*Logger) Debug

func (l *Logger) Debug(format string, args ...any)

func (*Logger) End

func (l *Logger) End()

func (*Logger) Error

func (l *Logger) Error(err error)

func (*Logger) Info

func (l *Logger) Info(format string, args ...any)

func (Logger) RuntimeDoc

func (v Logger) RuntimeDoc(names ...string) ([]string, bool)

func (*Logger) Start

func (l *Logger) Start(ctx context.Context, name string, keyAndValues ...any) (context.Context, logr.Logger)

func (*Logger) Warn

func (l *Logger) Warn(err error)

func (*Logger) WithValues

func (l *Logger) WithValues(keyAndValues ...any) logr.Logger

Jump to

Keyboard shortcuts

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