Support Home > SDK Integration > SDK – KochavaTracker > Class – KochavaTracker > Constant – kKVAParamLogLevelEnumKey

Constant – kKVAParamLogLevelEnumKey

  • Constant

    kKVAParamLogLevelEnumKey

    A constant to be used as a key in a key/value pair, where the corresponding value is an enumeration indicating the types of information to be printed to the log.


    Declaration

    Value

    kKVALogLevelEnumNone

    None. Logging is turned off.

    kKVALogLevelEnumError

    A LogLevelEnum of Error. Errors are printed to the log.

    kKVALogLevelEnumWarn

    A LogLevelEnum of Warn (Warning). Warnings, or else errors, are printed to the log.

    kKVALogLevelEnumInfo

    A LogLevelEnum of Info (Information). General information, or else warnings and errors, are printed to the log. This log level intentionally does not add much above Warn so that the log is still primarily silent unless there is an exception. The main addition is an entry showing that the tracker initialized.

    kKVALogLevelEnumDebug

    A LogLevelEnum of Debug. Debugging entries, or else general information, warnings, and errors are printed to the log. The Debug log level expands the logging of the tracker to include details about the internal tasks and network transactions occurring within the tracker. It is useful for diagnostic purposes. The Debug log level is higher than is recommended for a released app.

    kKVALogLevelEnumTrace

    A LogLevelEnum of Trace. Trace-level entries, or else any other entry, are printed to the log. The Trace log level expands the logging of the tracker to include finite details useful to trace down where something is occurring in the tracker. It is useful for diagnostic purposes and is generally used by the SDK Developer. The Trace log level is higher than is recommended for a released app.

    * The default value is kKVALogLevelEnumInfo.

    Discussion

    Logging is controlled by two parameters. The first is kKVAParamLogLevelEnumKey, which specifies the types of information to be printed to the log. The second is kKVAParamLogMultiLineBoolKey, which specifies whether that information prints in a multi-line or continuous format.

     

    Sample Code:

  • Constant

    kKVAParamLogLevelEnumKey

    A constant to be used as a key in a key/value pair, where the corresponding value is an enumeration indicating the types of information to be printed to the log.


    Declaration

    Value

    kKVALogLevelEnumNone

    None. Logging is turned off.

    kKVALogLevelEnumError

    A LogLevelEnum of Error. Errors are printed to the log.

    kKVALogLevelEnumWarn

    A LogLevelEnum of Warn (Warning). Warnings, or else errors, are printed to the log.

    kKVALogLevelEnumInfo

    A LogLevelEnum of Info (Information). General information, or else warnings and errors, are printed to the log. This log level intentionally does not add much above Warn so that the log is still primarily silent unless there is an exception. The main addition is an entry showing that the tracker initialized.

    kKVALogLevelEnumDebug

    A LogLevelEnum of Debug. Debugging entries, or else general information, warnings, and errors are printed to the log. The Debug log level expands the logging of the tracker to include details about the internal tasks and network transactions occurring within the tracker. It is useful for diagnostic purposes. The Debug log level is higher than is recommended for a released app.

    kKVALogLevelEnumTrace

    A LogLevelEnum of Trace. Trace-level entries, or else any other entry, are printed to the log. The Trace log level expands the logging of the tracker to include finite details useful to trace down where something is occurring in the tracker. It is useful for diagnostic purposes and is generally used by the SDK Developer. The Trace log level is higher than is recommended for a released app.

    * The default value is kKVALogLevelEnumInfo.

    Discussion

    Logging is controlled by two parameters. The first is kKVAParamLogLevelEnumKey, which specifies the types of information to be printed to the log. The second is kKVAParamLogMultiLineBoolKey, which specifies whether that information prints in a multi-line or continuous format.

     

    Sample Code:

See Also

Related Symbols dictionary trackerParametersDictionary

A dictionary with standardized keys used to configure an instance of class KochavaTracker.

constant kKVAParamLogMultiLineBoolKey

A constant to be used as a key in a key/value pair, where the corresponding value is a boolean indicating if multi-line printing should be used in log entries.

 
 

Last Modified: Jul 12, 2018 at 7:46 am