Debugging

  • Class with static methods to customize the logging behavior from Ditto.

    Currently, Ditto uses the persistence directory of the Ditto instance that was most recently created to store a limited amount of logs. Ditto may continue writing logs to a persistence directory even after the associated Ditto instance is deallocated. If this is a concern, consider either disabling logging by setting DittoLogger.enabled to false, or instantiating a new Ditto instance. After either of these actions, it is safe to remove the persistence directory. Please refer to DittoLogger.export(to:) for further details on locally collected logs.

    See more

    Declaration

    Swift

    public class DittoLogger
  • Undocumented

    See more

    Declaration

    Swift

    public class DittoTransportDiagnostics
  • Undocumented

    See more

    Declaration

    Swift

    public class DittoTransportSnapshot
  • Enum that maps to an appropriate prefix for a log message.

    See more

    Declaration

    Swift

    public enum DittoLogLevel : Int
  • Describes the condition that one of the transports that Ditto uses can be in at a given point in time.

    See more

    Declaration

    Swift

    public enum DittoTransportCondition : UInt32, CustomStringConvertible
  • The subsystem which is reporting a condition change.

    See more

    Declaration

    Swift

    public enum DittoConditionSource : UInt32, CustomStringConvertible