Function Karana::Core::traceJson(const nlohmann::ordered_json&, OrderedJsonToString)

Function Karana::Core::traceJson(const nlohmann::ordered_json&, OrderedJsonToString)#

Function Documentation#

void Karana::Core::traceJson(const nlohmann::ordered_json &json, OrderedJsonToString fn = defaultOrderedJsonToString)#

Write an trace to all loggers using the provided ordered json and json_to_string function.

Parameters:
  • json – The ordered_json trace information.

  • fn – A function that generates a string from the provided ordered json.