logging

package
v0.0.4-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IntoContext added in v0.0.4

func IntoContext(ctx context.Context, logger Logger) context.Context

func Log

func Log(ctx context.Context, operation string, color *color.Color, args ...interface{})

Types

type Logger

type Logger = tlogging.Logger

func FromContext added in v0.0.4

func FromContext(ctx context.Context) Logger

func NewLogger added in v0.0.2

func NewLogger(t TLogger, clock clock.PassiveClock, test string, step string) Logger

type TLogger added in v0.0.4

type TLogger interface {
	Log(args ...interface{})
	Helper()
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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