You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
logger.info("write to 10 files")
for i in range(10):
fn = "test_" + str(i) + ".log"
logger.info(f"fn = {fn}")
t = threading.Thread(target=open_log_file, kwargs={"fn":fn})
t.start()
The text was updated successfully, but these errors were encountered:
import threading
from loguru import logger
def open_log_file(fn:str):
logger.info("write to 10 files")
for i in range(10):
fn = "test_" + str(i) + ".log"
logger.info(f"fn = {fn}")
t = threading.Thread(target=open_log_file, kwargs={"fn":fn})
t.start()
The text was updated successfully, but these errors were encountered: