deltakit.explorer.Logging#

class deltakit.explorer.Logging#

Bases: object

This class enables client-side logging, generates unique request identifiers and proxies events from the calling environment (e.g. JupyterHub or gql library).

Methods#

Logging.error

Use this call for Exception logging. uid obtained from info_and_generate_uid() is required::.

Logging.info

This method is used to log events during the API method invocation. This method should be used after info_and_generate_uid(), and requires a uid as an argument::.

Logging.info_and_generate_uid

This method is used to log the API method invocation, and to generate a unique string which represents the call in the log files on both client and server sides.

Logging.set_log_level

Sets logging level, use logging.INFO, logging.DEBUG, .

Logging.set_log_to_console

Switches console logging on and off.

Logging.warn

This method is used to log warnings during the API method invocation. This method should be used after info_and_generate_uid(), and requires a uid as an argument::.