You are here

function taxonomy_xml_watchdog_levels in Taxonomy import/export via XML 7

Same name and namespace in other branches
  1. 6.2 taxonomy_xml.module \taxonomy_xml_watchdog_levels()

Text version of the integer constants. Used for log display.

2 calls to taxonomy_xml_watchdog_levels()
taxonomy_xml_import_form in ./taxonomy_xml.admin.inc
Builds the import form.
taxonomy_xml_watchdog in ./taxonomy_xml.module
Catches watchdog calls, to expose them to the UI if I feel like it.

File

./taxonomy_xml.module, line 988
Make it possible to import and export taxonomies as XML documents.

Code

function taxonomy_xml_watchdog_levels() {
  return array(
    WATCHDOG_DEBUG => 'debug',
    WATCHDOG_INFO => 'info',
    WATCHDOG_NOTICE => 'notice',
    WATCHDOG_WARNING => 'warning',
    WATCHDOG_ERROR => 'error',
  );
}