logger

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2020 License: MIT Imports: 10 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 Console

func Console(open bool) Option

func Dir

func Dir(dir string) Option

Dir ...

func Ext

func Ext(ext string) Option

Ext ...

func File

func File(open bool) Option

func Name

func Name(name string) Option

Name ...

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