If we log WARN messages, log this message as a 'nice' anti-warn message.
(self, msg, *args)
| 30 | sys.stdout.flush() |
| 31 | |
| 32 | def good(self, msg, *args): |
| 33 | """ |
| 34 | If we log WARN messages, log this message as a 'nice' anti-warn |
| 35 | message. |
| 36 | |
| 37 | """ |
| 38 | if WARN >= self.threshold: |
| 39 | if args: |
| 40 | print(green_text(msg % _fix_args(args))) |
| 41 | else: |
| 42 | print(green_text(msg)) |
| 43 | sys.stdout.flush() |
| 44 | |
| 45 | |
| 46 | _global_log.__class__ = Log |
nothing calls this directly
no test coverage detected