Logger
public protocol Logger
a protocol reporting EntityStore
internal information
-
Notify when an entity was stored in the identity map
Declaration
Swift
func didStore<T>(_ type: T.Type, id: T.ID) where T : Identifiable
Parameters
type
the entity type
id
id of the stored entity
-
Declaration
Swift
func didFailedToStore<T>(_ type: T.Type, id: T.ID, error: Error) where T : Identifiable
-
Notify an alias is registered with new entities
Declaration
Swift
func didRegisterAlias<T>(_ alias: AliasKey<T>)
-
Notify an alias is suppressed from the identity map
Declaration
Swift
func didUnregisterAlias<T>(_ alias: AliasKey<T>)