logger

package
v0.0.0-...-efd361b Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2021 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AlertReceivedInfo

func AlertReceivedInfo(labels []byte, hash string)

func AlertRecordInfo

func AlertRecordInfo(alert []byte)

func AlertStarttsChangedInfo

func AlertStarttsChangedInfo(labels []byte)

func ClickHouseConnectOpenError

func ClickHouseConnectOpenError(err error)

clickhouse

func ClickHouseConnectPingError

func ClickHouseConnectPingError(err error)

func ClickHouseConnectPingExceptionError

func ClickHouseConnectPingExceptionError(code int32, message string, trace string)

func CommonInfo

func CommonInfo(s string)

func DPanic

func DPanic(args ...interface{})

func DPanicf

func DPanicf(template string, args ...interface{})

func Debug

func Debug(args ...interface{})

func Debugf

func Debugf(template string, args ...interface{})

func DuplicateRecoverMessageInfo

func DuplicateRecoverMessageInfo(labels []byte)

insertalerts

func Error

func Error(args ...interface{})

func Errorf

func Errorf(template string, args ...interface{})

func ExecSQLError

func ExecSQLError(sql string, err error)

func Fatal

func Fatal(args ...interface{})

func Fatalf

func Fatalf(template string, args ...interface{})

func GetInstancesError

func GetInstancesError(err error)

func GetInstancesInfo

func GetInstancesInfo(len int)

func GetRedisError

func GetRedisError(sql string, err error)

func GetRegionsError

func GetRegionsError(err error)

func GetRegionsInfo

func GetRegionsInfo(len int)

func GetSQLResultError

func GetSQLResultError(sql string, err error)

func GetSQLResultInfo

func GetSQLResultInfo(rows int64)

func GetSlowLogsError

func GetSlowLogsError(err error)

func GetSlowlogsInfo

func GetSlowlogsInfo(len int)

func GetSlowlogsLenInfo

func GetSlowlogsLenInfo(len int, len1 int)

func GetStartEndInfo

func GetStartEndInfo(startts *string, endts *string)

func HttpPostError

func HttpPostError(url string, err error)

http

func HttpReadResponseError

func HttpReadResponseError(err error)

func Info

func Info(args ...interface{})

func Infof

func Infof(template string, args ...interface{})

func InitLogger

func InitLogger()

func JsonMarshalError

func JsonMarshalError(st interface{}, err error)

json

func NilPointertError

func NilPointertError(pointer string)

func OpenFileError

func OpenFileError(filename string, err error)

func Panic

func Panic(args ...interface{})

func Panicf

func Panicf(template string, args ...interface{})

func Redis2StructError

func Redis2StructError(sql string, err error)

func RexMatchError

func RexMatchError(rex string, str string)

func SQLInfo

func SQLInfo(sql string)

func SetRedisError

func SetRedisError(sql string, err error)

redis

func Struct2MessageError

func Struct2MessageError(err error)

kafka

func TokenCheckError

func TokenCheckError(ip string)

func TokenNilError

func TokenNilError(ip string)

token

func TokenUnmarshalError

func TokenUnmarshalError(ip string)

func Warn

func Warn(args ...interface{})

func Warnf

func Warnf(template string, args ...interface{})

func WriteMessageError

func WriteMessageError(err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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