Our application module uses Unity IoC container to register concrete types against interfaces, e.g. which logger we should use.
An existing static library also performs logging currently has no dependency on Unity at all but the thing is when this is build against the application, it should use that module's logger (so same log file is written to, etc).
How can I approach this so the library is not bound to only work with this specific application, and so the application controls which logger is used?