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