FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kNode_ReadCrashLog ( kNode  node,
kString crashLog,
kAlloc  allocator 
)

Retrieves a crash log summary from the node.

When a software error occurs, some devices can collect critical information and save this to non-volatile storage for post-crash diagnostics. This function harvests the collected information and generates a summary in text form (as a kString object). Amongst other details, the crash log may contain a stack traces, CPU registers, disassembled code, as well as a global, monotonically increasing crash counter.

Parameters
nodeNode object.
crashLogReceives crash log as kString.
allocatorOptional allocator to receive crash log string, if applicable (can be null).
Returns
Operation status.
See also
kNode_ClearCrashLog.