2025년 3월 27일부터 AOSP를 빌드하고 기여하려면 aosp-main
대신 android-latest-release
를 사용하는 것이 좋습니다. 자세한 내용은 AOSP 변경사항을 참고하세요.
로그 세이버
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
Tradefed의 로그 저장소는 기본 구성의 일부이며 로그 저장 및 결과 보고자에 이벤트 전파를 처리하는 고유한 객체입니다.
핵심 인터페이스
로그 저장기의 기본 인터페이스인 ILogSaver
는 파일이 저장되는 방식을 설명합니다.
호출되면 ILogSaver
는 저장된 파일과 결과 보고 도구에서 사용할 메타데이터를 설명하는 LogFile
를 반환합니다.
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 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."]]