video-stream/program/__init__.py

17 lines
402 B
Python
Raw Normal View History

__version__ = "0.6.5"
2022-02-25 03:53:23 +00:00
# >>> patch : F.11.22
2022-02-05 05:39:09 +00:00
2022-02-25 03:53:23 +00:00
import time
import logging
logging.basicConfig(
filename='bot.logs',
level=logging.INFO,
format='%(asctime)s - %(name)s - %(levelname)s - %(message)s'
)
logging.getLogger("yt_dlp").setLevel(logging.ERROR)
logging.getLogger("pyrogram").setLevel(logging.ERROR)
logging.getLogger("PyTgCalls").setLevel(logging.ERROR)
LOGS = logging.getLogger(__name__)