def build_colorized_logger(<EOL>name=os.getenv(<EOL>"<STR_LIT>",<EOL>"<STR_LIT>"),<EOL>config="<STR_LIT>",<EOL>log_level=logging.INFO,<EOL>log_config_path="<STR_LIT>".format(<EOL>os.getenv(<EOL>"<STR_LIT>",<EOL>os.path.dirname(os.path.realpath(__file__))))):
override_config = os.getenv(<EOL>"<STR_LIT>",<EOL>None)<EOL>debug_log_config = bool(os.getenv(<EOL>"<STR_LIT>",<EOL>"<STR_LIT:0>") == "<STR_LIT:1>")<EOL>if override_config:<EOL><INDENT>if debug_log_config:<EOL><INDENT>print((<EOL>"<STR_LIT>"<EOL>"<STR_LIT>".format(<EOL>override_config)))<EOL><DEDENT>if os.path.exists(override_config):<EOL><INDENT>setup_logging(<EOL>default_level=log_level,<EOL>default_path=override_config)<EOL>return logging.getLogger(name)<EOL><DEDENT>if debug_log_config:<EOL><INDENT>print((<EOL>"<STR_LIT>"<EOL>"<STR_LIT>".format(<EOL>override_config)))<EOL><DEDENT><DEDENT>else:<EOL><INDENT>if debug_log_config:<EOL><INDENT>print((<EOL>"<STR_LIT>"<EOL>"<STR_LIT>".format(<EOL>override_config)))<EOL><DEDENT><DEDENT>use_config = ("<STR_LIT:{}>").format(<EOL>config)<EOL>if not os.path.exists(use_config):<EOL><INDENT>use_config = ("<STR_LIT>").format(<EOL>config)<EOL>if not os.path.exists(use_config):<EOL><INDENT>use_config = log_config_path<EOL>if not os.path.exists(use_config):<EOL><INDENT>use_config = ("<STR_LIT>").format(<EOL>config)<EOL>if not os.path.exists(use_config):<EOL><INDENT>use_config = ("<STR_LIT>").format(<EOL>"<STR_LIT>")<EOL><DEDENT><DEDENT><DEDENT><DEDENT>setup_logging(<EOL>default_level=log_level,<EOL>default_path=use_config)<EOL>return logging.getLogger(name)<EOL>
build_colorized_logger

    :param name: name that shows in the logger
    :param config: name of the config file
    :param log_level: level to log
    :param log_config_path: path to log config file