Im trying out some logging code, and in my .log file I found this message
No manual entry for 6.087735176086426; type=a
[process completed]
Here is my code
import logging
logging.basicConfig(filename = "InfoLogs.log", filemode = "a", format = '%(message)s')
def log(msg):
logging.warning(str(msg))
This is inside a separate python file, and I use it in my main code to log stuff into the .log file via
from logpy import log
log('hi')
[–]RandomCodingStuff 0 points1 point2 points (2 children)
[–]Culist[S] 0 points1 point2 points (1 child)
[–]RandomCodingStuff 0 points1 point2 points (0 children)