logger

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Alert

func Alert(format string, argv ...interface{})

func Debug

func Debug(format string, argv ...interface{})

func Error

func Error(format string, argv ...interface{})

func Fatal

func Fatal(format string, argv ...interface{})

func Init

func Init(ctx context.Context, cfg *CfgInfo) fsc.FlowStateCode

func Stat

func Stat() (string, fsc.FlowStateCode)

func Vital

func Vital(format string, argv ...interface{})

Types

type CfgInfo

type CfgInfo struct {
	FileName string `toml:"file_name" json:"file_name"`
	FileSize uint64 `toml:"file_size" json:"file_size"`
	MaxFiles uint8  `toml:"max_files" json:"max_files"`
}

type Dropped

type Dropped struct {
	Bytes int64 `json:"bytes"`
	Lines int64 `json:"lines"`
}

Jump to

Keyboard shortcuts

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