elog

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package elog 日志模块

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type E日志类

type E日志类 struct {
	Logger    *zap.SugaredLogger
	LoggerObj *zap.Logger
}

func New日志类

func New日志类(日志文件路径 string, 日志级别 string) *E日志类

func (*E日志类) E信息日志

func (this *E日志类) E信息日志(msg string, keysAndValues ...interface{})

func (*E日志类) E初始化

func (this *E日志类) E初始化(日志文件路径 string, 日志级别 string) *E日志类

func (*E日志类) E警告日志

func (this *E日志类) E警告日志(msg string, keysAndValues ...interface{})

func (*E日志类) E错误日志

func (this *E日志类) E错误日志(msg string, keysAndValues ...interface{})

func (*E日志类) Log

func (this *E日志类) Log(msg string, keysAndValues ...interface{})

Jump to

Keyboard shortcuts

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