stdout_handler.py 177 B

12345678910
  1. import sys
  2. import os
  3. from .handler import handler
  4. class stdout_handler(handler):
  5. def add(self, content: str) -> None:
  6. sys.stdout.write(content + os.linesep)