Logcat Management
Effectively managing logcat filters and sessions is key to maximizing the utility of ADBLogger. This guide explains how to configure and utilize logcat filters to tailor log output to your specific needs.
Setting Logcat Filters
- Access the Filter Configuration: Navigate to the Device Management category within ADBLogger.
- Define Your Filter: Enter a custom filter string in the provided field. Use logcat command-line syntax, such as
-s Unityto show only Unity-related logs.
Creating and Managing Log Consoles
| Action | Description |
|---|---|
| Create a Console | Select your device and click Create Console to start a log session with the specified filter. |
| Modify Filters | Stop the current log session, update the filter, and restart the session. |
Best Practices
- Filter by Priority: Use tags like
Efor error,Wfor warning, etc., to focus on specific log levels. - Combine Filters: Combine multiple tags and priorities, e.g.
-s Unity:I *:Sto show only info logs from Unity.
Pro Tip
Start with a broad filter and narrow it down as you identify the relevant log tags for your issue.