log

package
v0.0.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Log logger.Logger = discard.New()

Functions

func Debug

func Debug(args ...interface{})

func Debugf

func Debugf(format string, args ...interface{})

func Error

func Error(args ...interface{})

func Errorf

func Errorf(format string, args ...interface{})

func Info

func Info(args ...interface{})

func Infof

func Infof(format string, args ...interface{})

func Nested

func Nested(fields ...interface{}) logger.Logger

Nested returns a new logger with hard coded key-value pairs

func Trace

func Trace(args ...interface{})

Trace logs the given arguments at the trace logging level.

func Tracef

func Tracef(format string, args ...interface{})

Tracef takes a formatted template string and template arguments for the trace logging level.

func Warn

func Warn(args ...interface{})

func Warnf

func Warnf(format string, args ...interface{})

func WithFields

func WithFields(fields ...interface{}) logger.MessageLogger

WithFields returns a message logger with multiple key-value fields.

Types

This section is empty.

Jump to

Keyboard shortcuts

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