Answers for "which language is logger.log used in"

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

logger

import logging

def get_logger(log_file_name, log_sub_dir=""):
    """ Creates a Log File and returns Logger object """
    
    # Build Log File Full Path
    logPath = log_file_name if os.path.exists(log_file_name) else os.path.join(log_dir, (str(log_file_name) + '.log'))

    # Create logger object and set the format for logging and other attributes
    logger = logging.Logger(log_file_name)

    # Return logger object
    return logger
Posted by: Guest on November-22-2021

Code answers related to "which language is logger.log used in"

Browse Popular Code Answers by Language