-
Notifications
You must be signed in to change notification settings - Fork 2
LOGGER
jimboca edited this page Apr 15, 2016
·
2 revisions
This documentation is being moved into the code, but is still here for reference until it is released.
Once you have completed the poly.wait_for_config() method in your Poly you can now use:
poly.logger.info('This variable is set to %s', variable)
poly.logger.error('This variable is set to %s', variable)
poly.logger.debug('This variable is set to %s', variable)
In your setup call:
super(SimpleNodeServer, self).setup()
Then you can run:
self.logger.info('This variable is set to %s', variable)
self.logger = self.parent.logger
self.logger.info('This variable is set to %s', variable)