cloudwatch

package
v0.0.39 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create added in v0.0.36

func Create(c *core.Conf) (core.Logger, error)

func NewCloudWatchCore

func NewCloudWatchCore(options ...Option) (c core.Logger, err error)

NewCloudWatchCore new a cloud watch logger with options.

Types

type Option

type Option func(alc *options)

func Level

func Level(l zapcore.Level) Option

func WithAccessKey

func WithAccessKey(ak string) Option

func WithAccessSecret

func WithAccessSecret(as string) Option

func WithEndpoint

func WithEndpoint(endpoint string) Option

func WithLogGroupName

func WithLogGroupName(logGroupName string) Option

func WithRegion

func WithRegion(region string) Option

func WithSessionToken

func WithSessionToken(sk string) Option

Jump to

Keyboard shortcuts

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