Documentation ¶
Index ¶
- type Log
- func (l *Log) CreateLogConfigForStream(ctx context.Context, cluster string, service string, serviceUUID string, ...) *cloudlog.LogConfig
- func (l *Log) CreateServiceLogConfig(ctx context.Context, cluster string, service string, serviceUUID string) *cloudlog.LogConfig
- func (l *Log) DeleteServiceLogConfig(ctx context.Context, cluster string, service string, serviceUUID string) error
- func (l *Log) InitializeServiceLogConfig(ctx context.Context, cluster string, service string, serviceUUID string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Log ¶
type Log struct {
// contains filtered or unexported fields
}
Log implements the cloudlog interface for AWS CloudWatchLogs.
func (*Log) CreateLogConfigForStream ¶
func (l *Log) CreateLogConfigForStream(ctx context.Context, cluster string, service string, serviceUUID string, stream string) *cloudlog.LogConfig
CreateLogConfigForStream creates the LogConfig for the stream to send logs to AWS CloudWatch. This is used for the service task or the system service that only runs one container.
func (*Log) CreateServiceLogConfig ¶
func (l *Log) CreateServiceLogConfig(ctx context.Context, cluster string, service string, serviceUUID string) *cloudlog.LogConfig
CreateServiceLogConfig creates the LogConfig for the service to send logs to AWS CloudWatch.
Click to show internal directories.
Click to hide internal directories.