add logger to expr