Closed mski-iksm closed 3 years ago
gokart.build() has a feature to disable low important logs. However, the implementation has inconsistency,
gokart.build()
This is because logging.Logger.setLevel and logging.disable has the following difference.
setLevel: Logging messages which are less severe than level will be ignored logging.disable: disable all logging calls of severity level and below
This PR fix the inconsistency by disabling any logs with level below the self.level
disabling any logs with level below the self.level
Thanks! LGTM
gokart.build()
has a feature to disable low important logs. However, the implementation has inconsistency,This is because logging.Logger.setLevel and logging.disable has the following difference.
This PR fix the inconsistency by
disabling any logs with level below the self.level