> ## 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.

# Diagnostic tracing in PlayFab Lobby and Matchmaking SDKs

> Capture diagnostic traces and logs from the PlayFab Lobby and Matchmaking SDKs across Android, Linux, Windows, and console platforms for troubleshooting.

# Tracing/logging instructions for PlayFab Lobby and Matchmaking SDKs

This topic describes how to capture diagnostic traces generated by the PlayFab Lobby and Matchmaking SDKs.

<Note>
  Our SDKs undergo internal testing before every release to ensure the expected level of functionality and normally don't require logging to be enabled by default, particularly in the shipping version of your game. However, sometimes it may be needed to capture and share produced logs with Microsoft for troubleshooting and diagnostic purposes.
</Note>

The type of logs and the way logging should be configured/captured depends on a platform. Our middleware SDKs (Unity and Unreal) use Lobby and Matchmaking C++ SDKs as an underlying dependency component, and a process of configuring/capturing logs for them is the same or very similar to the process for a corresponding C++ SDK. All necessary instructions and pointers are listed in the table below:

## Per platform logging instructions

| Platform                | Log format | Logging instruction guidance location                                                                        |
| ----------------------- | ---------- | ------------------------------------------------------------------------------------------------------------ |
| Android                 | Plain text | See [this `README.md` file](https://github.com/PlayFab/PlayFabMultiplayer/blob/main/TraceScripts/README.md). |
| Linux                   | Plain text | See [this `README.md` file](https://github.com/PlayFab/PlayFabMultiplayer/blob/main/TraceScripts/README.md). |
| Switch                  | Plain text | See `Logging` section of `README.md` file included in a NuGet package for this SDK.                          |
| PlayStation 4           | Plain text | See `Logging` section of `README.md` file included in a NuGet package for this SDK.                          |
| PlayStation 5           | Plain text | See `Logging` section of `README.md` file included in a NuGet package for this SDK.                          |
| PC (GDK) and XBOX (GDK) | ETW trace  | See [this `README.md` file](https://github.com/PlayFab/PlayFabMultiplayer/blob/main/TraceScripts/README.md). |
| Windows 10              | ETW trace  | See [this `README.md` file](https://github.com/PlayFab/PlayFabMultiplayer/blob/main/TraceScripts/README.md). |
| iOS                     | Plain text | See [this `README.md` file](https://github.com/PlayFab/PlayFabMultiplayer/blob/main/TraceScripts/README.md). |
| macOS                   | Plain text | See [this `README.md` file](https://github.com/PlayFab/PlayFabMultiplayer/blob/main/TraceScripts/README.md). |


## Related topics

- [Diagnostic tracing/logging in PlayFab Party SDKs](/services/playfab/multiplayer/networking/party-logging.md)
- [Debug tracing in the PlayFab Unified SDK](/services/playfab/sdks/unified-sdk/debug-trace.md)
- [PlayFab Lobby and Matchmaking SDKs](/services/playfab/multiplayer/lobby/lobby-matchmaking-sdks/lobby-matchmaking-sdks.md)
- [Migrate from PlayFab standalone SDK v1 to Unified SDK v2](/services/playfab/sdks/unified-sdk/migrating-from-v1.md)
- [PlayFab Multiplayer C++ SDK Release Notes](/services/playfab/multiplayer/lobby/lobby-matchmaking-sdks/lobby-and-matchmaking-release-notes.md)
