A function used to hook into dependency injection events.
Can be used for logging or debugging registration and lookup actions.
typedef InjectorHook = void Function(String event, Type type);