embedding logger into express app