Skip to content

Commit

Permalink
Merge pull request #22 from UniversalDevicesInc/logger
Browse files Browse the repository at this point in the history
Change logger based on suggestions from @firstone, fix bug for iAquaLink
  • Loading branch information
jimboca committed Apr 8, 2020
2 parents fab84bf + f6708b2 commit 83b4777
Show file tree
Hide file tree
Showing 5 changed files with 135 additions and 123 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# __Changelog for Polyglot Python Interface v2__

### Version 2.0.37
- Fixed bug for nodeservers that do not pass in name to polyinterface.Interface call.
- Added PyLogger class as suggested by @firstone

### Version 2.0.36
- New logger format with name instead of module
- Nodesrevers can call polyinterface.set_log_format if they don't like the default which is:
Expand Down
8 changes: 2 additions & 6 deletions polyinterface/__init__.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@

import logging

LOGGER = logging.getLogger(__name__)
from .polylogging import set_log_format, setup_log
setup_log(LOGGER)
from .polylogger import LOGGER
from .polyinterface import Interface, Node, Controller, unload_interface, get_network_interface


__version__ = '2.0.36'
__version__ = '2.0.37'
__description__ = 'UDI Polyglot v2 Interface'
__url__ = 'https://github.com/UniversalDevicesInc/polyglot-v2-python-interface'
__author__ = 'James Milne'
Expand Down
Loading

0 comments on commit 83b4777

Please sign in to comment.