2025 年 3 月 27 日より、AOSP のビルドとコントリビューションには aosp-main
ではなく android-latest-release
を使用することをおすすめします。詳細については、AOSP の変更をご覧ください。
ログ セーバー
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
Tradefed のログ セーバーはメイン構成の一部であり、ログの保存と結果レポータへのイベントの伝播を処理する一意のオブジェクトです。
コア インターフェース
ログ セーバーのメイン インターフェース ILogSaver
には、ファイルの保存方法が記述されています。呼び出されると、ILogSaver
は LogFile
を返します。これは、結果レポーターが使用する保存されたファイルとそのメタデータを記述します。
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2025-07-27 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-07-27 UTC。"],[],[],null,["# Log saver\n\nThe log saver in Tradefed is part of the\n[main configuration](/docs/core/tests/tradefed/architecture/xml-config) and is a unique\nobject handling the saving of the logs and propagating the events to result\nreporters.\n\nCore interface\n--------------\n\nThe main interface of the log saver,\n[`ILogSaver`](https://android.googlesource.com/platform/tools/tradefederation/+/refs/heads/android16-release/invocation_interfaces/com/android/tradefed/result/ILogSaver.java),\ndescribes how a file is saved.\nWhen invoked, `ILogSaver` returns\n[`LogFile`](https://android.googlesource.com/platform/tools/tradefederation/+/refs/heads/android16-release/invocation_interfaces/com/android/tradefed/result/LogFile.java),\nwhich describes the saved file and its metadata for the result reporters to consume."]]