> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# HCTraceSetEtwEnabled

> HCTraceSetEtwEnabled

# HCTraceSetEtwEnabled

Enables or disables ETW tracing for XBOX and PC platforms.

## Syntax

```cpp theme={null}
void HCTraceSetEtwEnabled(  
         bool enabled  
)  
```

### Parameters

*enabled*   \_In\_\
Type: bool

TBD

### Return value

Type: void

TBD

## Requirements

**Header:** trace.h

**Library:** libHttpClient.GDK.lib

## See also

[trace](/reference/live/httpclient/trace/trace_members)


## Related topics

- [HCTraceSetTraceToDebugger](/reference/live/httpclient/trace/functions/hctracesettracetodebugger.md)
- [Diagnostic tracing in PlayFab Lobby and Matchmaking SDKs](/services/playfab/multiplayer/lobby/lobby-matchmaking-sdks/lobby-matchmaking-logging.md)
- [Live services tools for XBOX and PlayFab](/tools/tools-services/index.md)
- [Diagnostic tracing/logging in PlayFab Party SDKs](/services/playfab/multiplayer/networking/party-logging.md)
- [HCSettingsSetTraceLevel](/reference/live/httpclient/trace/functions/hcsettingssettracelevel.md)
