aliyun

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger interface {
	log.Logger

	GetProducer() *producer.Producer
	Close() error
}

Logger see more detail https://github.com/aliyun/aliyun-log-go-sdk

func NewAliyunLog

func NewAliyunLog(options ...Option) Logger

NewAliyunLog new a aliyun logger with options.

type Option

type Option func(alc *options)

func WithAccessKey

func WithAccessKey(ak string) Option

func WithAccessSecret

func WithAccessSecret(as string) Option

func WithEndpoint

func WithEndpoint(endpoint string) Option

func WithLogstore

func WithLogstore(logstore string) Option

func WithProject

func WithProject(project string) Option

Jump to

Keyboard shortcuts

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