aliyunlog

package
v0.0.0-...-a4b11d7 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ProjectName     string
	LogStoreName    string
	LogTopic        string
	LogSource       string
	LogContentKey   string
	Endpoint        string
	AccessKeyId     string
	AccessKeySecret string
	SecurityToken   string
}

type Logger

type Logger struct {
	Config
	// contains filtered or unexported fields
}

func New

func New(config Config) *Logger

func (*Logger) Write

func (slf *Logger) Write(data []byte) (int, error)

Jump to

Keyboard shortcuts

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