3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-25 20:22:45 +01:00

PyLinkNetworkCore: rename filename, config -> channel, chandata

Signed-off-by: Celelibi <celelibi@gmail.com>
This commit is contained in:
Celelibi 2020-06-19 03:57:37 +02:00 committed by James Lu
parent 7204ef1cf1
commit dcd0a28c89

View File

@ -284,7 +284,7 @@ class PyLinkNetworkCore(structures.CamelCaseToSnakeCase):
level = chandata.get('loglevel')
else:
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)
self.loghandlers.append(handler)