You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jimboca edited this page Apr 15, 2016
·
2 revisions
Note
This documentation is being moved into the code, but is still here for reference until it is released.
For logging in your poly.
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)
From your SimpleNodeServer:
In your setup call:
super(SimpleNodeServer, self).setup()
Then you can run: self.logger.info('This variable is set to %s', variable)
From your Node:
self.logger = self.parent.logger self.logger.info('This variable is set to %s', variable)