

# LoggingOptions
<a name="API_LoggingOptions"></a>

The values of the AWS IoT Events logging options.

## Contents
<a name="API_LoggingOptions_Contents"></a>

 ** enabled **   <a name="iotevents-Type-LoggingOptions-enabled"></a>
If TRUE, logging is enabled for AWS IoT Events.  
Type: Boolean  
Required: Yes

 ** level **   <a name="iotevents-Type-LoggingOptions-level"></a>
The logging level.  
Type: String  
Valid Values: `ERROR | INFO | DEBUG`   
Required: Yes

 ** roleArn **   <a name="iotevents-Type-LoggingOptions-roleArn"></a>
The ARN of the role that grants permission to AWS IoT Events to perform logging.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 2048.  
Required: Yes

 ** detectorDebugOptions **   <a name="iotevents-Type-LoggingOptions-detectorDebugOptions"></a>
Information that identifies those detector models and their detectors (instances) for which the logging level is given.  
Type: Array of [DetectorDebugOption](API_DetectorDebugOption.md) objects  
Array Members: Minimum number of 1 item.  
Required: No

## See Also
<a name="API_LoggingOptions_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/iotevents-2018-07-27/LoggingOptions) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/iotevents-2018-07-27/LoggingOptions) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/iotevents-2018-07-27/LoggingOptions) 