module documentation
(source)

Tools for saving and loading log events in a structured format.
Function failure​As​JSON Convert a failure to a JSON-serializable data structure.
Function failure​From​JSON Load a Failure from a dictionary deserialized from JSON.
Function object​Load​Hook Dictionary-to-object-translation hook for certain value types used within the logging system.
Function object​Save​Hook Object-to-serializable hook for certain value types used within the logging system.
Variable class​Info Undocumented
Variable ​JSONDict Undocumented
Variable log Undocumented
Variable uuid​To​Loader Undocumented
def failureAsJSON(failure): (source)
Convert a failure to a JSON-serializable data structure.
Parameters
failure:FailureA failure to serialize.
Returns
JSONDicta mapping of strings to ... stuff, mostly reminiscent of Failure.__getstate__
def failureFromJSON(failureDict): (source)
Load a Failure from a dictionary deserialized from JSON.
Parameters
failure​Dict:JSONDicta JSON-deserialized object like one previously returned by failureAsJSON.
Returns
FailureFailure
def objectLoadHook(aDict): (source)
Dictionary-to-object-translation hook for certain value types used within the logging system.
Parameters
a​Dict:JSONDictA dictionary loaded from a JSON object.
Returns
objectaDict itself, or the object represented by aDict
See Also
the object_hook parameter to json.load
def objectSaveHook(pythonObject): (source)
Object-to-serializable hook for certain value types used within the logging system.
Parameters
python​Object:objectAny object.
Returns
JSONDictIf the object is one of the special types the logging system supports, a specially-formatted dictionary; otherwise, a marker dictionary indicating that it could not be serialized.
See Also
the default parameter to json.dump
classInfo = (source)

Undocumented

JSONDict = (source)

Undocumented

Undocumented

uuidToLoader = (source)

Undocumented