Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureGroupNameIsValid ¶
EnsureGroupNameIsValid based upon the rules from aws:
- Log group names must be unique within a region for an AWS account.
- Log group names can be between 1 and 512 characters long.
- Log group names consist of the following characters: a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen), '/' (forward slash), and '.' (period).
func EnsureStreamNameIsValid ¶
EnsureStreamNameIsValid based upon the provided rules from AWS
- Log stream names must be unique within the log group.
- Log stream names can be between 1 and 512 characters long.
- The ':' (colon) and '*' (asterisk) characters are not allowed.
Types ¶
type Administration ¶
type Administration interface { // GetOutput for the specified group and output name. GetOutput(groupName, outputName string, logLevel log.LevelFlag) (log.Output, errors.TracerError) }
Administration provides a layer that manages the control of cloud watch logs to behave like a standard log output.
func GetAdministration ¶
func GetAdministration(logger log.Logger) (Administration, errors.TracerError)
GetAdministration for cloud watch logs
Click to show internal directories.
Click to hide internal directories.