log

package
v1.1.0-alpha Latest Latest
Warning

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

Go to latest
Published: May 23, 2017 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MyLogger

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

func NewLogger

func NewLogger(logfile string) *MyLogger

创建日志

func (*MyLogger) Close

func (this *MyLogger) Close()

关闭文件

func (*MyLogger) LogErr

func (this *MyLogger) LogErr(msg ...interface{})

打印错误

func (*MyLogger) LogOut

func (this *MyLogger) LogOut(msg ...interface{})

正常日志输出

Jump to

Keyboard shortcuts

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