]> git.immae.eu Git - github/fretlink/terraform-provider-statuscake.git/blobdiff - vendor/github.com/aws/aws-sdk-go/aws/logger.go
deps: github.com/hashicorp/terraform@sdk-v0.11-with-go-modules
[github/fretlink/terraform-provider-statuscake.git] / vendor / github.com / aws / aws-sdk-go / aws / logger.go
index db87188e20c7f694233e72a7d0b4d3e7e7b81e9e..6ed15b2ecc26de07405d5f6a5483f39736fb6baf 100644 (file)
@@ -26,14 +26,14 @@ func (l *LogLevelType) Value() LogLevelType {
 
 // Matches returns true if the v LogLevel is enabled by this LogLevel. Should be
 // used with logging sub levels. Is safe to use on nil value LogLevelTypes. If
-// LogLevel is nill, will default to LogOff comparison.
+// LogLevel is nil, will default to LogOff comparison.
 func (l *LogLevelType) Matches(v LogLevelType) bool {
        c := l.Value()
        return c&v == v
 }
 
 // AtLeast returns true if this LogLevel is at least high enough to satisfies v.
-// Is safe to use on nil value LogLevelTypes. If LogLevel is nill, will default
+// Is safe to use on nil value LogLevelTypes. If LogLevel is nil, will default
 // to LogOff comparison.
 func (l *LogLevelType) AtLeast(v LogLevelType) bool {
        c := l.Value()
@@ -71,6 +71,12 @@ const (
        // LogDebugWithRequestErrors states the SDK should log when service requests fail
        // to build, send, validate, or unmarshal.
        LogDebugWithRequestErrors
+
+       // LogDebugWithEventStreamBody states the SDK should log EventStream
+       // request and response bodys. This should be used to log the EventStream
+       // wire unmarshaled message content of requests and responses made while
+       // using the SDK Will also enable LogDebug.
+       LogDebugWithEventStreamBody
 )
 
 // A Logger is a minimalistic interface for the SDK to log messages to. Should