use value type making sure OptionalLogger cannot be nil