cls

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CLSHook

type CLSHook struct {
	// contains filtered or unexported fields
}

func NewCLSHook

func NewCLSHook(accessKeyId, accessKeySecret, endpoint, allowLogLevel string, opts ...OptionFunc) *CLSHook

func (*CLSHook) Close

func (hook *CLSHook) Close(timeoutMs int64) error

func (*CLSHook) Fire

func (hook *CLSHook) Fire(entry *logrus.Entry) error

func (*CLSHook) Levels

func (hook *CLSHook) Levels() []logrus.Level

type Option

type Option struct {
	// contains filtered or unexported fields
}

type OptionFunc

type OptionFunc func(*Option)

func SetTopic

func SetTopic(name string) OptionFunc

Jump to

Keyboard shortcuts

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