(self, message)
| 285 | self.level = level |
| 286 | |
| 287 | def write(self, message): |
| 288 | # if statement reduces the amount of newlines that are |
| 289 | # printed to the logger |
| 290 | if message.strip() != '': |
| 291 | self.level(message.replace("\n", "")) |
| 292 | |
| 293 | def flush(self): |
| 294 | # create a flush method so things can be flushed when |
no test coverage detected