remotelogs

package
v1.3.9 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(tag string, description string)

Error 打印错误信息

func Println

func Println(tag string, description string)

Println 打印普通信息

func SetDAO

func SetDAO(dao DAOInterface)

SetDAO 设置存储接口

func Warn

func Warn(tag string, description string)

Warn 打印警告信息

Types

type DAOInterface

type DAOInterface interface {
	CreateLog(tx *dbs.Tx, nodeRole nodeconfigs.NodeRole, nodeId int64, serverId int64, originId int64, level string, tag string, description string, createdAt int64, logType string, paramsJSON []byte) error
}

Jump to

Keyboard shortcuts

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