std

package
v1.6.19 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CLogInfo = "info"
	CLogWarn = "warn"
	CLogErro = "erro"
)

Variables

View Source
var (
	ErrUnknownLogType = &SStdError{"unknown log type"}
)

Functions

func GetLogFunc added in v1.5.19

func GetLogFunc() logger.ILogFunc

func NewStdLogger added in v1.5.19

func NewStdLogger(pLogging ILogging, pLogFunc logger.ILogFunc) logger.ILogger

Types

type ILogging

type ILogging interface {
	HasInfo() bool
	HasWarn() bool
	HasErro() bool
}

func LoadLogging added in v1.6.3

func LoadLogging(pLogging []string) (ILogging, error)

type SStdError added in v1.6.8

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

func (*SStdError) Error added in v1.6.8

func (err *SStdError) Error() string

Jump to

Keyboard shortcuts

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