logger library Null safety

Classes

LoggerSingleton
Use the logger as a singleton to share the same log level everywhere