logging

package
v1.1.8 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: GPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger = &LoggerStruct{

	comm:  make(chan *ftp_context.LogItem, 100),
	err_c: make(chan error, 100),
}

Functions

This section is empty.

Types

type Loc

type Loc string

func Locf added in v1.1.8

func Locf(str string, v ...any) Loc

type LoggerStruct

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

func (*LoggerStruct) Engine

func (ls *LoggerStruct) Engine(ctx ftp_context.Context)

func (*LoggerStruct) Log

func (ls *LoggerStruct) Log(li *ftp_context.LogItem)

func (*LoggerStruct) LogErr

func (ls *LoggerStruct) LogErr(loc Loc, err error) error

func (*LoggerStruct) Logf

func (ls *LoggerStruct) Logf(loc Loc, str string, v ...any)

Jump to

Keyboard shortcuts

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