log

package
v0.0.0-...-0454a22 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DPanic

func DPanic(template string, args ...interface{})

func Debug

func Debug(template string, args ...interface{})

func Error

func Error(template string, args ...interface{})

func Fatal

func Fatal(template string, args ...interface{})

func Info

func Info(template string, args ...interface{})

func Init

func Init(opts *Options)

func Panic

func Panic(template string, args ...interface{})

func StdInfo

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

func Warn

func Warn(template string, args ...interface{})

Types

type Options

type Options struct {
	Env        types.Environment
	Filename   string
	MaxSize    int
	MaxAge     int
	MaxBackups int
	Compress   bool
	LocalTime  bool
	Level      string
}

func NewOptions

func NewOptions() *Options

Jump to

Keyboard shortcuts

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