import logging

# Configure a basic 'securesystemslib' top-level logger with a StreamHandler
# (print to console) and the WARNING log level (print messages of type
# warning, error or critical). This is similar to what 'logging.basicConfig'
# would do with the root logger. All 'securesystemslib.*' loggers default to
# this top-level logger and thus may be configured (e.g. formatted, silenced,
# etc.) with it. It can be accessed via logging.getLogger('securesystemslib').
logger = logging.getLogger(__name__)
logger.setLevel(logging.WARNING)
logger.addHandler(logging.StreamHandler())

@@ -581,8 +581,177 @@
 dler())%0A
+%0A%0A# Global constants%0A# TODO: Replace hard-coded key types with these constants (and add more)%0AKEY_TYPE_RSA = %22rsa%22%0AKEY_TYPE_ED25519 = %22ed25519%22%0AKEY_TYPE_ECDSA = %22ecdsa%22%0A

Add key type constants to __init__.py