agent/logger/audit/audit_log.go
func (a *auditLog) Log(r request.LogRequest, httpResponseCode int, eventType string) {
	if !a.cfg.CredentialsAuditLogDisabled {
		auditLogEntry := constructAuditLogEntry(r, httpResponseCode, eventType, a.GetCluster(),
			a.GetContainerInstanceArn())

		a.logger.Info(auditLogEntry)
	}
}
func (a *auditLog) Log(r request.LogRequest, httpResponseCode int, eventType string) {
	if !a.cfg.CredentialsAuditLogDisabled {
		auditLogEntry := constructAuditLogEntry(r, httpResponseCode, eventType, a.GetCluster(),
			a.GetContainerInstanceArn())

		a.logger.Info(auditLogEntry)
	}
}
func ( a * auditLog ) Log ( r request . LogRequest , httpResponseCode int , eventType string ) { if ! a . cfg . CredentialsAuditLogDisabled { auditLogEntry := constructAuditLogEntry ( r , httpResponseCode , eventType , a . GetCluster ( ) , a . GetContainerInstanceArn ( ) ) a . logger . Info ( auditLogEntry ) } }
// Log will construct an audit log entry log and log that entry to the audit log
// using the underlying logger (which implements the audit.InfoLogger interface).
Log will construct an audit log entry log and log that entry to the audit log using the underlying logger ( which implements the audit . InfoLogger interface ) .