import logging
logging.basicConfig (filename="logging.log",
filemode="a",
format="%(asctime)s : %(name)s - %(levelname)s : '%(message)s'"
,datefmt="%Y/%b/%d %H:%M:%S"
)
my_logger1 =logging.getLogger ("Elz")
my_logger2 =logging.getLogger ("OS")
my_logger2.error ("This is Error")
print(open("logging.log").read ())
To embed this project on your website, copy the following code and paste it into your website's HTML: