mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-10-03 00:54:34 -04:00
55 lines
3.9 KiB
HTML
55 lines
3.9 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="ja-rJP" dir="ltr">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
<title>デバッグログ</title>
|
||
<link rel="stylesheet" href="../../styles/docs.css">
|
||
</head>
|
||
<body data-page="debug-logs" data-locale="ja-rJP">
|
||
<pre class="markdown-content"># デバッグログ
|
||
|
||
何か不具合が起きたとき、アプリのデバッグログは、バグ報告に添付できる最も役立つものです。 Meshtastic can capture them **for you, from inside the app** — you don't need `adb` or any desktop tooling to collect them.
|
||
|
||
「**設定 → 詳細設定 → デバッグパネル**」から「**デバッグパネル**」を開きます。
|
||
|
||
If you're filing an issue, export your logs (see [Exporting](#exporting)) and attach the `.txt` file to your report on the [Meshtastic-Android issue tracker](https://github.com/meshtastic/Meshtastic-Android/issues). 問題が起きた瞬間を含むログのキャプチャは、「動かない」という報告を、開発者が実際に追跡できるものに変えます。
|
||
|
||
## 2 つのタブ
|
||
|
||
デバッグパネルには 2 つのタブがあります:
|
||
|
||
- **パケット**:無線機が送受信した、デコード済みのメッシュトラフィック(プロトコルレベルのメッセージ)。メッシュやルーティングの動作を診断するのに役立ちます。
|
||
- **アプリログ**:アプリ自身の診断ログ(Android の _logcat_)。アプリからの警告、エラー、スタックトレースを含みます。通常、バグ報告に必要なのはこちらです。
|
||
|
||
各タブには独自の**エクスポート**ボタンがあり、それぞれ別のファイルを生成するため、関連する方を、または両方を取得できます。
|
||
|
||
## アプリログを表示する
|
||
|
||
The **App logs** tab shows the most recent log lines from **this app only** — never other apps on your phone.
|
||
|
||
- **検索**:検索ボックスに入力すると、一致する行に絞り込めます。
|
||
- **レベルフィルター**:**V/D/I/W/E** のチップで、Verbose、Debug、Info、Warn、Error の行を切り替えます。レベルをタップすると非表示になり、もう一度タップすると再表示されます。 Fatal の行は常に表示されます。
|
||
- **更新**:更新アイコンで最新のログを読み直します。
|
||
|
||
エラーと警告の行は色付けされ、問題が目立つようになっています。
|
||
|
||
## エクスポート
|
||
|
||
**ダウンロード**アイコンをタップすると、現在のログをファイルに保存できます。 The app first shows a warning about what the file contains — confirm it, then choose where the file goes through the system file picker. The file is named with a timestamp (for example `meshtastic_logcat_20260701_143312.txt`) so repeated exports never overwrite each other. The same warning guards the **Packets** tab export.
|
||
|
||
そのファイルを GitHub の issue に添付してください。
|
||
|
||
> 🔒 **Privacy:** Exports automatically **redact** private keys, admin keys, session passkeys, and channel PSKs, and suppress raw packet bytes. Everything else stays — the file can contain your message text, precise locations, and node details. Read it before sharing it publicly, and share privately if you have any doubt.
|
||
|
||
## デスクトップ
|
||
|
||
デスクトップアプリにはシステムの logcat がないため、「**アプリログ**」タブは代わりに、アプリ自身がキャプチャしたログ出力を表示します。検索、絞り込み、エクスポートは同じように機能します。
|
||
|
||
## 関連トピック
|
||
|
||
- [ヘルプとアプリ内ドキュメント](help-and-docs):このドキュメントをアプリ内でオフラインで読む
|
||
- [コネクション](connections):そもそも無線機に接続できないことが問題の場合
|
||
</pre>
|
||
</body>
|
||
</html> |