Class ATrace

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public final class ATrace
    extends java.lang.Object
    implements java.lang.AutoCloseable
    Prefer 'try with resource' pattern when using this class
    • Constructor Summary

      Constructors 
      Constructor Description
      ATrace​(java.lang.String name)  
    • Constructor Detail

      • ATrace

        public ATrace​(java.lang.String name)
    • Method Detail

      • setPrintToLogcat

        public static void setPrintToLogcat​(boolean print)
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable