cloudmesh-common.cloudmesh.common.debug

Module Contents

Functions

TRACE()

prints the current trace stack

tracefunc(frame, event, arg, indent=[0])

VERBOSE(msg, label=None, color='BLUE', verbose=9, location=True, secrets=['OS_PASSWORD', 'OS_USERNAME', 'client_secret', 'client_id', 'project_id', 'AZURE_TENANT_ID', 'AZURE_SUBSCRIPTION_ID', 'AZURE_APPLICATION_ID', 'AZURE_SECRET_KEY: TBD', 'EC2_ACCESS_ID: TBD', 'EC2_SECRET_KEY', 'MONGO_PASSWORD'])

Prints a data structure in verbose mode

cloudmesh-common.cloudmesh.common.debug.verbose_lock
cloudmesh-common.cloudmesh.common.debug.TRACE()

prints the current trace stack

cloudmesh-common.cloudmesh.common.debug.tracefunc(frame, event, arg, indent=[0])
cloudmesh-common.cloudmesh.common.debug.VERBOSE(msg, label=None, color='BLUE', verbose=9, location=True, secrets=['OS_PASSWORD', 'OS_USERNAME', 'client_secret', 'client_id', 'project_id', 'AZURE_TENANT_ID', 'AZURE_SUBSCRIPTION_ID', 'AZURE_APPLICATION_ID', 'AZURE_SECRET_KEY: TBD', 'EC2_ACCESS_ID: TBD', 'EC2_SECRET_KEY', 'MONGO_PASSWORD'])

Prints a data structure in verbose mode

Parameters
  • msg – the msg to be printed, can be a data structure such as a dict

  • label – the label to be used, defaults to the name of the msg variable

  • color – the color

  • verbose – indicates when to print it. If verbose in cloudmesh is higher than the specified value it is printed

Returns