def METHOD_NAME(self):
    """On instantiation, setup the default sink file."""
    filename = Path.home() / "sg_logs" / "console.log"
    filename.parent.mkdir(exist_ok=True)
    self.filename = str(filename)
    os.makedirs(os.path.dirname(self.filename), exist_ok=True)
    buffer = StringIO()
    lock = Lock()
    self.stdout = StdoutTee(filename=self.filename, buffer=buffer, buffer_size=BufferWriter.FILE_BUFFER_SIZE, lock=lock)
    self.stderr = StderrTee(filename=self.filename, buffer=buffer, buffer_size=BufferWriter.FILE_BUFFER_SIZE, lock=lock)
    # We don't want to rewrite this for subprocesses when using DDP.
    if is_main_process():
        with open(self.filename, mode="w", encoding="utf-8") as f:
            f.write("============================================================\n")
            f.write(f'New run started at {datetime.now().strftime("%Y-%m-%d.%H:%M:%S.%f")}\n')
            f.write(f'sys.argv: "{" ".join(sys.argv)}"\n')
            f.write("============================================================\n")
    self.stdout.write(f"The console stream is logged into {self.filename}\n")