to print the value of a argument, we need to pass the object

self.app.log.info("Recieved option 'foo' with value '%s'." % self.app.pargs.foo)