Boot test Error log format for Redfish

Change-Id: I6f034d98049fc8633cafba2ec1ed2802df53258f
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/logging_utils.robot b/lib/logging_utils.robot
index 9e28a80..0ef8cbe 100644
--- a/lib/logging_utils.robot
+++ b/lib/logging_utils.robot
@@ -260,6 +260,19 @@
     [Return]  ${members}
 
 
+Get Redfish Event Logs
+    [Documentation]  Pack the list of all available EventLog entries in dictionary.
+
+    ${packed_dict}=  Create Dictionary
+    ${error_logs}=  Get Event Logs
+
+    :FOR  ${idx}   IN  @{error_logs}
+       Set To Dictionary  ${packed_dict}    ${idx['@odata.id']}=${idx}
+    END
+
+    [Return]  &{packed_dict}
+
+
 Get Event Logs Not Ok
     [Documentation]  Get all event logs where the 'Severity' is not 'OK'.