Capture Dmesg
Description
Captures dmesg.
Function Signature:
def capture_dmesg(output_folder_path: str, delete_old_logs: bool = False) -> None:
Parameters
- output_folder_path (str): Input value for
output_folder_path. - delete_old_logs (bool): Input value for
delete_old_logs.
Returns
- None: The function does not return a value.
Example Usage
# Example usage
output_folder_path = "example"
delete_old_logs = False
result = capture_dmesg(output_folder_path, delete_old_logs)
print(result)
Behavior
- Executes the function logic with the provided arguments.
- On success, returns the computed value or result object.
Error Handling
- Exceptions are handled within the function where implemented.