Package 

Class SimpleLoggingPolicy

    • Method Summary

      Modifier and Type Method Description
      boolean isEnabled() Whether logging in general is enabled or not.
      LogLevel getMinimumLevel() If logging is enabled, this value will be checked later to filter which logs willget printed.
      • Methods inherited from class co.elastic.apm.android.sdk.configuration.logging.LoggingPolicy

        disabled, enabled, getDefault
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SimpleLoggingPolicy

        SimpleLoggingPolicy(boolean isEnabled, LogLevel minimumLevel)
    • Method Detail

      • isEnabled

         boolean isEnabled()

        Whether logging in general is enabled or not. This value will be checked before the log level.

      • getMinimumLevel

         LogLevel getMinimumLevel()

        If logging is enabled, this value will be checked later to filter which logs willget printed. Logs with at least the level provided here or higher will pass, other ones (below the level provided here) will be ignored.