I would like to log when a component (interface and implementation) is registered to my container. What is the best way of doing this?
I found the IKernelEvents interface that looks promising but I can't find how to actually use it.
I would like to log when a component (interface and implementation) is registered to my container. What is the best way of doing this?
I found the IKernelEvents interface that looks promising but I can't find how to actually use it.
Nevermind, found that IKernel implements IKernelEvents
Therefore simply