logger

package
v0.0.0-...-bab900e Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LogDepthDays = 30

Functions

func CheckLogFile

func CheckLogFile()

func CurrentExePath

func CurrentExePath() string

func Error

func Error(v ...interface{})

func Init

func Init(path string)

func InitNearExe

func InitNearExe()

func Println

func Println(v ...interface{})

Types

type FileInfo

type FileInfo struct {
	Path           string
	Name           string
	Dir            bool
	NameWithoutExt string
	Ext            string
	Size           int64
	Date           time.Time
	Attr           string
}

func GetDir

func GetDir(path string) ([]FileInfo, error)

func (*FileInfo) SizeAsString

func (c *FileInfo) SizeAsString() string

Jump to

Keyboard shortcuts

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