cloudwatch

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupCloudwatchLogger

func SetupCloudwatchLogger(group, stream string, opts ...Options) (*zap.Logger, error)

Types

type Options

type Options func(*OptionsStruct)

func WithEnvCredentials

func WithEnvCredentials() Options

func WithLevel

func WithLevel(level zapcore.Level) Options

func WithName

func WithName(name string) Options

func WithRegion

func WithRegion(region string) Options

func WithStaticCredentials

func WithStaticCredentials(accessKey, secretKey string) Options

type OptionsStruct

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

Jump to

Keyboard shortcuts

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