logging

package
v0.0.0-...-de70ca6 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger interface {
	Debug(message string, args ...interface{})
	Info(message string, args ...interface{})
	Warn(message string, args ...interface{})
	Error(message string, args ...interface{})
}

Logger is our standard interface

type LoggerStdOut

type LoggerStdOut struct{}

LoggerStdOut logs to std out

func (LoggerStdOut) Debug

func (l LoggerStdOut) Debug(message string, args ...interface{})

Debug logs messages at DEBUG level

func (LoggerStdOut) Error

func (l LoggerStdOut) Error(message string, args ...interface{})

Error logs messages at ERROR level

func (LoggerStdOut) Info

func (l LoggerStdOut) Info(message string, args ...interface{})

Info logs messages at INFO level

func (LoggerStdOut) Warn

func (l LoggerStdOut) Warn(message string, args ...interface{})

Warn logs messages at WARN level

Jump to

Keyboard shortcuts

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