Allow logger to be assigned