diagnostic_log Class
Directs debug logs to a specified file.
- Inheritance
-
builtins.objectdiagnostic_log
Constructor
diagnostic_log(log_path=None, namespaces=None, context_name=None)
Parameters
Name | Description |
---|---|
log_path
|
A path with log file name. If None, a file named "azureml.log" is created. Default value: None
|
namespaces
|
A list of namespaces to capture logs for. If None, the default is "azureml", "msrest.http_logger", "urllib2", and "azure". Default value: None
|
context_name
|
A name to identify the logging context. If None, the context of the calling stack frame is used. Default value: None
|
Methods
start_capture |
Start the capture of debug logs. |
stop_capture |
Stop the capture of debug logs. |
start_capture
Start the capture of debug logs.
start_capture()
stop_capture
Stop the capture of debug logs.
stop_capture()