logger

package
v0.0.0-...-1b5e7ed Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const DefinitionName = "logger"
View Source
const LogFile = "/tmp/shell.log"

Variables

View Source
var (
	Definition = di.Def{
		Name: DefinitionName,
		Build: func(ctn di.Container) (interface{}, error) {
			return newLogger(), nil
		},
	}
)

Functions

This section is empty.

Types

type Logger

type Logger interface {
	WriteMessages(msg ...interface{})
}

Jump to

Keyboard shortcuts

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