CachedLogger constructor Null safety

CachedLogger()

Creates a new instance of the logger.