Common utilities module.
Classes
Methods
-
<static> error(msg [, err])
-
Log application error.
Parameters:
Name Type Argument Description msgstring Error message. errexternal:Error <optional>
Optional error object. -
<static> getDebugLogger(section)
-
Get debug logger.
Parameters:
Name Type Description sectionstring Section being debugged. Returns:
Debug logger function that takes one argument, which is the debug message. The function also has a read-only Boolean propertyenabled, which tells if the logger is enabled or if it is a noop.- Type
- function