logger

package
v0.0.0-...-7372eca Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Instance

func Instance() *zap.Logger

Instance 获取默认的 logger 对象

Types

type Register

type Register struct {
}

Register 注册器

func (Register) CheckIn

func (Register) CheckIn() (err error)

CheckIn 实现 IRegister 接口,以注册获取初始化好的 logger 对象。

func (Register) Name

func (Register) Name() string

Name .

Jump to

Keyboard shortcuts

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