def setUpLogger(name='<STR_LIT>',dr='<STR_LIT>',lvl=<NUM_LIT:20>,addFH=True,addSH=True):
logging.setLoggerClass(KMlogger)<EOL>log = logging.getLogger(name)<EOL>log_dict[name]=log<EOL>log.addNewLvls()<EOL>log.setLevel(<NUM_LIT:1>)<EOL>if addFH:<EOL><INDENT>log.addFileHandler(dr=dr,lvl=<NUM_LIT:1>)<EOL><DEDENT>if addSH:<EOL><INDENT>log.addStreamHandler(lvl)<EOL><DEDENT>return log<EOL>
This function is utilized by getLogger to set up a new logging object.
    It will have the default name 'generalLoggerName' and stream handler level
    of 20 unless redefined in the function call.  
    NOTE:
    If a file handler is added, it will have the lowest severity level by 
    default (Currently no need for changing this setting, so it will stay 
    this way for now).  Remember that any messages will be passed up to any 
    parent loggers, so children do not always need their own file handler.

    Args:
        name (str): The name for the logging object and 
                    name.log will be the output file written to disk.
        lvl (int): The severity level of messages printed to the screen with 
                    the stream handler, default = 20.
        addFH (boolean): Add a file handler to this logger?  Default severity 
                         level for it will be 1, and it will be named following
                         name+'.log'.  Default = True.
        addSH (boolean): Add a stream handler to this logger? Severity set with 
                        the lvl argument.  Default = True.
    Returns:
        log (KMlogger object): A KMlogger object that was freshly 
                                   instantiated.