WIP: object concurrency debugging utilities

This commit is contained in:
John Estropia
2017-02-02 19:53:47 +09:00
parent 7b961fa249
commit 69d96c53d6
6 changed files with 276 additions and 0 deletions

View File

@@ -33,6 +33,11 @@ import Foundation
*/
public final class DefaultLogger: CoreStoreLogger {
/**
When `true`, all `NSManagedObject` attribute and relationship access will raise an assertion when executed on the wrong transaction/datastack queue. Defaults to `false`.
*/
public var enableObjectConcurrencyDebugging: Bool = false
/**
Creates a `DefaultLogger`.
*/