logger

package module
Version: v0.0.0-...-6159080 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SimpleGlobalConsole

func SimpleGlobalConsole()

func SimpleGlobalFile

func SimpleGlobalFile(opt *Option)

Types

type Option

type Option struct {
	Filename   string
	MaxSize    int
	MaxBackups int
	MaxAge     int
	Compress   bool

	ZapLevel zapcore.Level
}

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL