使用集合让一切井井有条 根据您的偏好保存内容并对其进行分类。

SimpleFileLogger

public class SimpleFileLogger
extends BaseStreamLogger<FileOutputStream>

java.lang.Object
   ↳ com.android.tradefed.log.BaseLeveledLogOutput
     ↳ com.android.tradefed.log.BaseStreamLogger<FileOutputStream>
       ↳ com.android.tradefed.log.SimpleFileLogger


A ILeveledLogOutput that directs log messages to stdout and to a single log file.

Summary

Public constructors

SimpleFileLogger()

Public methods

SimpleFileLogger clone()

InputStreamSource getLog()
void init()

Public constructors

SimpleFileLogger

public SimpleFileLogger ()

Public methods

clone

public SimpleFileLogger clone ()

Returns
SimpleFileLogger

getLog

public InputStreamSource getLog ()

Returns
InputStreamSource

init

public void init ()