Logger constructor Null safety

Logger()