Did I find the right examples for you? yes no

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)

        def get_file_handler(filename):
    log_handler = logging.FileHandler(filename)
    log_handler.setLevel(logging.DEBUG)
    formatter = logging.Formatter("%(message)s")
    log_handler.setFormatter(formatter)

    return log_handler
        


src/d/i/Dialogs-0.13/src/dialogs/interpretation/statements_builder_test.py   Dialogs(Download)
from dialogs.resources_manager import ResourcePool
 
from dialogs.helpers.helpers import check_results, get_console_handler, get_file_handler
 
from dialogs.dialog_core import Dialog

src/d/i/Dialogs-0.13/src/dialogs/interpretation/discrimination_test.py   Dialogs(Download)
from dialogs.dialog_exceptions import *
 
from dialogs.helpers.helpers import check_results, get_console_handler, get_file_handler