BaseStreamLogger

public abstract class BaseStreamLogger
extends BaseLeveledLogOutput

java.lang.Object
com.android.tradefed.log.BaseLeveledLogOutput
com.android.tradefed.log.BaseStreamLogger<نظام التشغيل يمتد OutputStream>


ILeveledLogOutput الذي يوجه رسائل السجل إلى دفق الإخراج وإلى stdout.

ملخص

مجالات

protected OS extends OutputStream mOutputStream

المقاولين العامة

BaseStreamLogger ()

الأساليب العامة

void closeLog ()
Log.LogLevel getLogLevel ()
Log.LogLevel getLogLevelDisplay ()
void printAndPromptLog (Log.LogLevel logLevel, String tag, String message)
void printLog (Log.LogLevel logLevel, String tag, String message)
void setLogLevel (Log.LogLevel logLevel)
void setLogLevelDisplay (Log.LogLevel logLevel)

يضبط الحد الأدنى LogLevel ليتم عرضه على stdout.

الأساليب المحمية

void writeToLog (String message)

يكتب رسالة إلى دفق الإخراج.

مجالات

mOutputStream

protected OS extends OutputStream mOutputStream

المقاولين العامة

BaseStreamLogger

public BaseStreamLogger ()

الأساليب العامة

CloseLog

public void closeLog ()

getLogLevel

public Log.LogLevel getLogLevel ()

عائدات
Log.LogLevel

getLogLevelDisplay

public Log.LogLevel getLogLevelDisplay ()

عائدات
Log.LogLevel الحد الأدنى الحالي LogLevel الذي سيتم عرضه على stdout.

printAndPromptLog

public void printAndPromptLog (Log.LogLevel logLevel, 
                String tag, 
                String message)

حدود
logLevel Log.LogLevel

tag String

message String

printLog

public void printLog (Log.LogLevel logLevel, 
                String tag, 
                String message)

حدود
logLevel Log.LogLevel

tag String

message String

setLogLevel

public void setLogLevel (Log.LogLevel logLevel)

حدود
logLevel Log.LogLevel

setLogLevelDisplay

public void setLogLevelDisplay (Log.LogLevel logLevel)

يضبط الحد الأدنى LogLevel ليتم عرضه على stdout.

حدود
logLevel Log.LogLevel

الأساليب المحمية

writeToLog

protected void writeToLog (String message)

يكتب رسالة إلى دفق الإخراج.

حدود
message String : الإدخال للكتابة للتسجيل

رميات
في حالة حدوث خطأ في الإدخال/الإخراج