add logger to require