logging

package
v0.0.0-...-cf45389 Latest Latest
Warning

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

Go to latest
Published: May 18, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GomolLogger

type GomolLogger struct {
	// contains filtered or unexported fields
}

func NewGomolLogger

func NewGomolLogger() (*GomolLogger, error)

func (*GomolLogger) Debug

func (gl *GomolLogger) Debug(format string, args ...interface{})

func (*GomolLogger) Error

func (gl *GomolLogger) Error(format string, args ...interface{})

func (*GomolLogger) Info

func (gl *GomolLogger) Info(format string, args ...interface{})

func (*GomolLogger) Shutdown

func (gl *GomolLogger) Shutdown() error

type Logger

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

type NilLogger

type NilLogger struct{}

func NewNilLogger

func NewNilLogger() *NilLogger

func (*NilLogger) Debug

func (nl *NilLogger) Debug(format string, args ...interface{})

func (*NilLogger) Error

func (nl *NilLogger) Error(format string, args ...interface{})

func (*NilLogger) Info

func (nl *NilLogger) Info(format string, args ...interface{})

Jump to

Keyboard shortcuts

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