logger

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2022 License: MIT Imports: 11 Imported by: 17

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 added in v0.0.4

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