cmdLog

package module
v0.0.0-...-1b15b8d Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2022 License: GPL-2.0 Imports: 6 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogFileClose

func LogFileClose() error

func LogFileSet

func LogFileSet(lfn string) error

func LogPrintDate

func LogPrintDate(format string, args ...interface{})

func LogSprintf

func LogSprintf(format string, args ...interface{}) string

func LogSprintfDate

func LogSprintfDate(format string, args ...interface{}) string

func Printf

func Printf(format string, args ...interface{})

func TimeNow

func TimeNow() string

Types

type Log

type Log struct {
	*os.File
	// contains filtered or unexported fields
}

func (*Log) LogClose

func (l *Log) LogClose() error

func (*Log) LogPrintf

func (l *Log) LogPrintf(format string, args ...interface{})

func (*Log) LogPrintfDate

func (l *Log) LogPrintfDate(format string, args ...interface{})

func (*Log) Open

func (l *Log) Open(path ...string) error

Jump to

Keyboard shortcuts

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