Skip to content

Commit 83b4777

Browse files
authored
Merge pull request #22 from UniversalDevicesInc/logger
Change logger based on suggestions from @firstone, fix bug for iAquaLink
2 parents fab84bf + f6708b2 commit 83b4777

5 files changed

Lines changed: 135 additions & 123 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# __Changelog for Polyglot Python Interface v2__
22

3+
### Version 2.0.37
4+
- Fixed bug for nodeservers that do not pass in name to polyinterface.Interface call.
5+
- Added PyLogger class as suggested by @firstone
6+
37
### Version 2.0.36
48
- New logger format with name instead of module
59
- Nodesrevers can call polyinterface.set_log_format if they don't like the default which is:

polyinterface/__init__.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11

2-
import logging
32

4-
LOGGER = logging.getLogger(__name__)
5-
from .polylogging import set_log_format, setup_log
6-
setup_log(LOGGER)
3+
from .polylogger import LOGGER
74
from .polyinterface import Interface, Node, Controller, unload_interface, get_network_interface
85

9-
10-
__version__ = '2.0.36'
6+
__version__ = '2.0.37'
117
__description__ = 'UDI Polyglot v2 Interface'
128
__url__ = 'https://github.com/UniversalDevicesInc/polyglot-v2-python-interface'
139
__author__ = 'James Milne'

0 commit comments

Comments
 (0)