# android.support.test.rule.logging

## Classes

AtraceLogger | Class contains helper methods to dump atrace info asynchronously while running the test case
EnableTestTracingRule | When applied to a test class this `TestRule` calls `Trace.beginSection()` before test method execution.
LogBatteryInformationRule | When applied to a test class this `Rule` resets battery information ("stats") before test method execution.
LogDeviceGetPropInfoRule | When applied to a test class this `Rule` executes the "getprop" device command after test method execution and logs it to a file on external storage.
LoggingBaseRule | Base class for logging rules to remove boiler-plate instance variables used by most logging rules.
LogGraphicsStatsRule | When applied to a test class this `Rule` performs a graphics system information reset before test method execution.
LogLogcatRule | When applied to a test class this `Rule` attempts to clear the Logcat buffer on the device before test method execution.
LogNetStatsRule | When applied to a test class this `Rule` performs a network system information reset before test method execution.
RuleLoggingUtils | Convenience methods to ensure logging rules perform certain actions in the same manner.

- ## Classes

  - AtraceLogger
  - EnableTestTracingRule
  - LogBatteryInformationRule
  - LogDeviceGetPropInfoRule
  - LoggingBaseRule
  - LogGraphicsStatsRule
  - LogLogcatRule
  - LogNetStatsRule
  - RuleLoggingUtils