logs

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Qezap *qezap.Logger

Qezap 支持远端的 Zap, 是Zap的超集

Functions

func InitQezap

func InitQezap(cfg *Config)

Types

type Config

type Config struct {
	Addr     []string `defval:""`
	Module   string   `defval:""`
	Filename string   `defval:"./log/logger.log"`
	Level    int      `defval:"-1"` // -1=debug 0=info ...
}

Jump to

Keyboard shortcuts

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