def print_xmlsec_errors(filename, line, func, error_object, error_subject, reason, msg):
info = []<EOL>if error_object != "<STR_LIT>":<EOL><INDENT>info.append("<STR_LIT>" + error_object)<EOL><DEDENT>if error_subject != "<STR_LIT>":<EOL><INDENT>info.append("<STR_LIT>" + error_subject)<EOL><DEDENT>if msg.strip():<EOL><INDENT>info.append("<STR_LIT>" + msg)<EOL><DEDENT>if reason != <NUM_LIT:1>:<EOL><INDENT>info.append("<STR_LIT>" % reason)<EOL><DEDENT>if info:<EOL><INDENT>print("<STR_LIT>" % (filename, line, func), "<STR_LIT:U+0020>".join(info))<EOL><DEDENT>
Auxiliary method. It overrides the default xmlsec debug message.