as2fm.as2fm_common.logging

Modules that help produce error messages with references to the right line of the (sc)XML file that caused the error.

Functions

get_error_msg(element, message)

Log an error message.

get_info_msg(element, message)

Log an info message.

get_warn_msg(element, message)

Log a warning message.

log_error(element, message)

Log an error message and print it.

set_filepath_for_all_elements(root, filepath)

Set the filepath for all elements in the XML tree.

Classes

Severity(value[, names, module, qualname, ...])

Enum to represent the severity of the error.