logger

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppLogger

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

func (*AppLogger) Error

func (l *AppLogger) Error(message string)

func (*AppLogger) Info

func (l *AppLogger) Info(message string)

func (*AppLogger) Warning

func (l *AppLogger) Warning(message string)

type LoggerInterface

type LoggerInterface interface {
	Info(message string)
	Warning(message string)
	Error(message string)
}

func Init

func Init(filePath string) (LoggerInterface, error)

Jump to

Keyboard shortcuts

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