19 lines
No EOL
638 B
Markdown
19 lines
No EOL
638 B
Markdown
# Analyze logs with source code correlation
|
|
./logcat_analyzer -f logcat.txt --source /path/to/android/src
|
|
|
|
# This scans your Java/Kotlin files and correlates them with log entries
|
|
|
|
|
|
# AI analysis with source code context
|
|
./logcat_analyzer -f logcat.txt --source ./app/src/main/java --ai
|
|
|
|
# Filter errors and show source locations
|
|
./logcat_analyzer -f logcat.txt --source ./src -l E
|
|
|
|
# Find crashes with exact code locations
|
|
./logcat_analyzer -f logcat.txt --source ./app/src --crashes
|
|
|
|
# Set up source directory
|
|
export ANDROID_SOURCE_DIR=/path/to/your/android/project/src
|
|
|
|
./logcat_analyzer -f logcat.txt --source $ANDROID_SOURCE_DIR --ai |