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
See moreDittoLogger.enabledtofalse, or instantiating a new Ditto instance. After either of these actions, it is safe to remove the persistence directory. Please refer toDittoLogger.export(to:)for further details on locally collected logs.Declaration
Swift
public class DittoLogger -
Undocumented
See moreDeclaration
Swift
public class DittoTransportDiagnostics -
Undocumented
See moreDeclaration
Swift
public class DittoTransportSnapshot -
Enum that maps to an appropriate prefix for a log message.
See moreDeclaration
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 moreDeclaration
Swift
public enum DittoTransportCondition : UInt32, CustomStringConvertible -
The subsystem which is reporting a condition change.
See moreDeclaration
Swift
public enum DittoConditionSource : UInt32, CustomStringConvertible
Debugging Reference