sscdev.monitor#

Functions#

get_environment()

collect_logs(func)

Decorator for logging function calls and tracing with Azure Monitor.

Module Contents#

sscdev.monitor.get_environment()#
sscdev.monitor.collect_logs(func)#

Decorator for logging function calls and tracing with Azure Monitor.

Args: - func (function): The function to be wrapped by the decorator.

Returns: - wrapper (function): The wrapped function with logging and tracing.

Example: >>> @collect_logs >>> def example_function(x, y): >>> return x + y