function getDebugNamespaceType (namespace) {
  var chunks = namespace.split(':');

  return chunks[chunks.length - 1];  // Return the last one
}
Returns the type of the namespace (e.g., `error`, `warn`).

@param {String} namespace
  The debug logger's namespace (e.g., `components:geometry:warn`).
@returns {String} The type of the namespace (e.g., `warn`).
@api private