Loglevel changed to rx_tx_loglvl in send method
This commit is contained in:
parent
c7aced7c3f
commit
a931455046
@ -434,7 +434,7 @@ class tcp_base_stp(tcp_base):
|
|||||||
:rtype: bool
|
:rtype: bool
|
||||||
"""
|
"""
|
||||||
if tcp_base.send(self, stringtools.stp.build_frame(data), timeout=timeout):
|
if tcp_base.send(self, stringtools.stp.build_frame(data), timeout=timeout):
|
||||||
self.logger.info('%s TX -> "%s"', self.__log_prefix__(), stringtools.hexlify(data))
|
self.logger.log(self.__rx_tx_log_lvl__, '%s TX -> "%s"', self.__log_prefix__(), stringtools.hexlify(data))
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
return False
|
return False
|
||||||
|
Loading…
x
Reference in New Issue
Block a user