langchain/callbacks/whylabs_callback.py/WhyLabsCallbackHandler/flush
class WhyLabsCallbackHandler:    def flush(self) -> None:
        self.logger._do_rollover()
        diagnostic_logger.info("Flushing WhyLabs logger, writing profile...")