BaseLeveledLogOutput

public abstract class BaseLeveledLogOutput
extends Object implements ILeveledLogOutput

java.lang.Object
com.android.tradefed.log.BaseLeveledLogOutput


Podstawowa implementacja ILeveledLogOutput, która umożliwia filtrowanie niektórych tagów na podstawie ich nazwy lub komponentów.

Podsumowanie

Konstruktory publiczne

BaseLeveledLogOutput()

Metody publiczne

abstract ILeveledLogOutput clone()

Map<String, Log.LogLevel> getForcedVerbosityMap()

Zwraca mapę wymuszonej szczegółowości.

final void initFilters(IConfiguration config)

Inicjuje filtry komponentów na podstawie wywołania IConfiguration.

final boolean shouldDisplay(boolean forceStdout, Log.LogLevel invocationLogLevel, Log.LogLevel messageLogLevel, String tag)

Określa, czy dany komunikat ma być wyświetlany na podstawie jego tagu.

boolean shouldForceVerbosity()

Określa, czy wymusić mapę szczegółowości.

Konstruktory publiczne

BaseLeveledLogOutput

public BaseLeveledLogOutput ()

Metody publiczne

klon

public abstract ILeveledLogOutput clone ()

Zwraca
ILeveledLogOutput

getForcedVerbosityMap

public Map<String, Log.LogLevel> getForcedVerbosityMap ()

Zwraca mapę wymuszonej szczegółowości.

Zwraca
Map<String, Log.LogLevel>

initFilters

public final void initFilters (IConfiguration config)

Inicjuje filtry komponentów na podstawie wywołania IConfiguration.

Parametry
config IConfiguration

shouldDisplay

public final boolean shouldDisplay (boolean forceStdout, 
                Log.LogLevel invocationLogLevel, 
                Log.LogLevel messageLogLevel, 
                String tag)

Określa, czy dany komunikat ma być wyświetlany na podstawie jego tagu.

Parametry
forceStdout boolean: określa, czy wymusić wyświetlanie na stdout.

invocationLogLevel Log.LogLevel: bieżący poziom dziennika informacji.

messageLogLevel Log.LogLevel: poziom dziennika ocenianej wiadomości.

tag String: tag rejestrowania rozpatrywanej wiadomości.

Zwraca
boolean Wartość true, jeśli komunikat ma być wyświetlany. W przeciwnym razie wartość false.

shouldForceVerbosity

public boolean shouldForceVerbosity ()

Określa, czy wymusić mapę szczegółowości.

Zwraca
boolean