log

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package log is a service to wrap multiple logger types.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug added in v1.0.2

func Debug(args ...interface{})

Debug wraps logger.Debug

func Error

func Error(args ...interface{})

Error wraps logger.Error

func Fatal

func Fatal(args ...interface{})

Fatal wraps logger.Fatal

func Fatalf

func Fatalf(msg string, args ...interface{})

Fatalf wraps logger.Fatalf

func Info

func Info(args ...interface{})

Info wraps logger.Info

func Printf

func Printf(msg string, args ...interface{})

Printf wraps logger.Printf

func Warn

func Warn(args ...interface{})

Warn wraps logger.Warn

Types

type StderrLogger added in v1.0.2

type StderrLogger struct{}

func (StderrLogger) Write added in v1.0.2

func (StderrLogger) Write(b []byte) (int, error)

Jump to

Keyboard shortcuts

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