When there is no logger object in config it will break the logger since the instance will not be initialized. This will in turn break any attemp of logging ( which should be avoided).
IMO there are 2 different solutions:
Always initialize logging. Logging is now not initialized when there is no logging object. It can initialize with default options.
Log an error when logging is being used without an instance being defined.
When there is no logger object in config it will break the logger since the instance will not be initialized. This will in turn break any attemp of logging ( which should be avoided).
IMO there are 2 different solutions: