Package 

Enum LogLevel

  • All Implemented Interfaces:
    java.io.Serializable , kotlin.Comparable

    
    public enum LogLevel
    extends Enum<LogLevel>
                        

    Log level enumeration for controlling the verbosity of OneSignal SDK logging. Use IDebugManager.logLevel to set the desired log level for the SDK.

    Log levels are ordered from least to most verbose: NONE < FATAL < ERROR < WARN < INFO < DEBUG < VERBOSE

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class LogLevel.Companion
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      VERBOSE

      All messages including verbose output will be logged.

      DEBUG

      Debug, informational, warning, error, and fatal messages will be logged.

      INFO

      Informational, warning, error, and fatal messages will be logged.

      WARN

      Warning, error, and fatal messages will be logged. This is the default log level.

      ERROR

      Error and fatal messages will be logged.

      FATAL

      Only fatal error messages will be logged.

      NONE

      No logging will be output.

    • Method Summary

      Modifier and Type Method Description
      final String getName()
      final Integer getOrdinal()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait