logger

package
v0.0.0-...-370076f Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

README

log plugin can log to console or log to file.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	F    *os.File
	Lock *sync.Mutex
	Tags map[string]string
}

func NewLogger

func NewLogger(tags map[string]string, file string) (*Logger, error)

func (*Logger) Close

func (p *Logger) Close() error

func (*Logger) TouchBrook

func (p *Logger) TouchBrook()

Jump to

Keyboard shortcuts

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