mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-27 05:03:07 +01:00
PyLinkNetworkCore: rename filename, config -> channel, chandata
Signed-off-by: Celelibi <celelibi@gmail.com>
This commit is contained in:
parent
7204ef1cf1
commit
dcd0a28c89
@ -284,7 +284,7 @@ class PyLinkNetworkCore(structures.CamelCaseToSnakeCase):
|
|||||||
level = chandata.get('loglevel')
|
level = chandata.get('loglevel')
|
||||||
else:
|
else:
|
||||||
log.warning('(%s) Got invalid channel logging pair %r: %r; are your indentation '
|
log.warning('(%s) Got invalid channel logging pair %r: %r; are your indentation '
|
||||||
'and block commenting consistent?', self.name, filename, config)
|
'and block commenting consistent?', self.name, channel, chandata)
|
||||||
|
|
||||||
handler = PyLinkChannelLogger(self, channel, level=level)
|
handler = PyLinkChannelLogger(self, channel, level=level)
|
||||||
self.loghandlers.append(handler)
|
self.loghandlers.append(handler)
|
||||||
|
Loading…
Reference in New Issue
Block a user