Untitled

mail@pastecode.io avatar
unknown
python
8 months ago
216 B
1
Indexable
Never
import logging
logging.basicConfig(filename="mylogs.log",filemode='a',format='%
(asctime)s,%(msecs)d %(name)s %(levelname)s %
(message)s',datefmt='%H:%M:%S',level=logging.DEBUG)
logging.info("This is an information")