""" Log logging_handling.log testing """ # import atexit from pathlib import Path from multiprocessing import Queue # this is for testing only from queue_logger.log_queue import QueueLogger def main(): """ Log testing """ script_path: Path = Path(__file__).resolve().parent log_queue: 'Queue[str]' = Queue() log_q_legacy = QueueLogger( log_file=script_path.joinpath('log', 'test_queue_legacy.log'), log_name="Test Log Queue", log_queue=log_queue ) log_q_legacy.mlog.info('Log test: %s', 'Queue Legacy') # log_q.stop_listener() if __name__ == "__main__": main() # __END__