gdlog

package
v0.0.0-...-7424bbb Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close()

Close Close

func Debug

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

Debug Debug

func Error

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

Error Error

func Fatal

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

Fatal Fatal

func Init

func Init(name, logLevel, logPath string, flag int) error

Init Init

func Release

func Release(format string, a ...interface{})

Release Release

Types

type Logger

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

Logger Logger

func New

func New(strLevel, name, pathname string, flag int) (*Logger, error)

New New

func (*Logger) Close

func (logger *Logger) Close()

Close Close

func (*Logger) Debug

func (logger *Logger) Debug(format string, a ...interface{})

Debug Debug

func (*Logger) Error

func (logger *Logger) Error(format string, a ...interface{})

Error Error

func (*Logger) Fatal

func (logger *Logger) Fatal(format string, a ...interface{})

Fatal Fatal

func (*Logger) Release

func (logger *Logger) Release(format string, a ...interface{})

Release Release

Jump to

Keyboard shortcuts

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