Swift Module: Logger

Swift Module: Logger

by 4 weeks ago - edited 4 weeks ago (28 Views)

Purpose

Enables logging of debug information to the LLDB console.

Supported Platforms

  • iOS
  • tvOS
  • watchOS
  • macOS

External Dependencies

Foundation

Recommended Usage

Usage of this module is recommended. If you do not enabled it, you will not see any logging from the Tealium library.

It is automatically included in Carthage and CocoaPods framework builds.

Included Variables

No new variables are introduced by this module.

Public API

There are no public API methods for this module. The module can be controlled by using the settings available in the TealiumConfig object.

Available Log Levels

Log Level Description Enum value
None Logging disabled TealiumLogLevelValue.none
Errors Only errors will be reported TealiumLogLevelValue.errors
Warnings Only errors and warnings will be reported TealiumLogLevelValue.warnings
Verbose All log output will be reported, including an entry for each tracking call/dispatch TealiumLogLevelValue.verbose

Future Improvements

Additional logging to be added for all modules.

Change Log

Build 1.4.0

  • Improved logging for Persistent Data