AI powered OSINT engine to discover and map 840+ social media identities across the web
Python aiartificial-intelligencedebainhackhackerhackinghackingtoolsinformationinformation-gatheringlinuxlinux-desktoposintpythonpython-scriptpython3social-mediasocialmediahackingtermuxtermux-tool
import logging
def setup_logger(verbose: bool) -> logging.Logger:
"""Configure the shared logger for the app."""
logger = logging.getLogger("username_scanner")
if logger.handlers:
logger.setLevel(logging.DEBUG if verbose else logging.INFO)
return logger
logger.setLevel(logging.DEBUG if verbose else logging.INFO)
handler = logging.StreamHandler()
formatter = logging.Formatter("%(levelname)s: %(message)s")
handler.setFormatter(formatter)
logger.addHandler(handler)
return logger