logger

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close() error

func Init

func Init(opt ...Option)

func SetLevel

func SetLevel(l string) error

Types

type Option

type Option func(*Options)

Option ...

func Caller added in v0.0.3

func Caller(open bool) Option

func Console

func Console(open bool) Option

func Dir

func Dir(dir string) Option

Dir ...

func ExpireDay added in v0.0.5

func ExpireDay(expireDay int) Option

func Ext

func Ext(ext string) Option

Ext ...

func File

func File(open bool) Option

func Name

func Name(name string) Option

Name ...

func Pid added in v0.0.3

func Pid(open bool) Option

type Options

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

Jump to

Keyboard shortcuts

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