slog

package
v1.4.13 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2021 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debugf

func Debugf(ctx context.Context, format string, v ...interface{})

func Debugln

func Debugln(ctx context.Context, v ...interface{})

func Errorf

func Errorf(ctx context.Context, format string, v ...interface{})

func Errorln

func Errorln(ctx context.Context, v ...interface{})

func Fatalf

func Fatalf(ctx context.Context, format string, v ...interface{})

func Fatalln

func Fatalln(ctx context.Context, v ...interface{})

func Infof

func Infof(ctx context.Context, format string, v ...interface{})

func Infoln

func Infoln(ctx context.Context, v ...interface{})

func Panicf

func Panicf(ctx context.Context, format string, v ...interface{})

func Panicln

func Panicln(ctx context.Context, v ...interface{})

func Tracef

func Tracef(ctx context.Context, format string, v ...interface{})

func Traceln

func Traceln(ctx context.Context, v ...interface{})

func Warnf

func Warnf(ctx context.Context, format string, v ...interface{})

func Warnln

func Warnln(ctx context.Context, v ...interface{})

Types

type Logger

type Logger struct{}

func GetLogger

func GetLogger() *Logger

func (*Logger) Printf

func (m *Logger) Printf(format string, v ...interface{})

Jump to

Keyboard shortcuts

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