Answers for "logging in software"

4

what is logging in programming

In computing, a log file is a file that records either events that 
occur in an operating system or other software runs, or messages between 
different users of a communication software. Logging is the act of 
keeping a log. ... Many operating systems, software frameworks and 
programs include a logging system.
Posted by: Guest on November-14-2021
0

LOGGING

import logging
LOG_FILENAME = 'example.log'
logging.basicConfig(filename=LOG_FILENAME,level=logging.DEBUG)

logging.debug('This message should go to the log file')
Posted by: Guest on May-05-2021

Browse Popular Code Answers by Language