wlog

package module
v0.0.0-...-3385542 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2021 License: MIT Imports: 4 Imported by: 0

README

WLog

Integrate uber zap log framework and adopt global mode.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitGlobalSimple

func InitGlobalSimple()

InitGlobalSimple �initialize a simple log global object. only console.

Types

type Options

type Options struct {
	Filename   string
	TimeFormat string
	MaxSize    int
	MaxBackups int
	MaxAge     int
	Compress   bool

	ZapLevel zapcore.Level
}

Options config option。

Jump to

Keyboard shortcuts

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