logiface

package
v0.0.0-...-09c63dc Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ILog

type ILog interface {
	Print(args ...interface{})
	Trace(args ...interface{})
	Debug(args ...interface{})
	Info(args ...interface{})
	Warn(args ...interface{})
	Error(args ...interface{})
	Fatal(args ...interface{})
	Panic(args ...interface{})
}

type ILogRequest

type ILogRequest interface {
	GetLogId() uint64           //日志随机号
	GetLogData() []byte         //获取日志请求消息的参数数据
	GetLogLevel() logenum.Level //获取日志请求的级别
	GetLogDataStr() string      //获取日志请求消息的参数数据转化成string
}

type ILogRouter

type ILogRouter interface {
	LogExecute(ILogRequest)
}

日志接口

Jump to

Keyboard shortcuts

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