logging

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const LOG_FILE = "gogdl-ng.log"

Variables

This section is empty.

Functions

func NewLogger

func NewLogger(logFileName string) (*logrus.Logger, error)

Types

type Logger

type Logger interface {
	Info(...interface{})
	Infof(string, ...interface{})
	Warnf(string, ...interface{})
	Error(...interface{})
	Errorf(string, ...interface{})
	Fatal(...interface{})
	Fatalf(string, ...interface{})
}

Jump to

Keyboard shortcuts

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