Log.exportToJson Method¶
Module: Log
Definition¶
Exports a representation of the log, in JSON format.
export_to_json(self, indentation: str, debug: bool) -> str
Parameters
indentation
strin The indentation of the json string.debug
boolin Indicates whether debug information is added to the log.
Returns
str
The result.
Exceptions
An error has occurred during Bioseal Library execution.
String exportToJson(String? indentation, bool debug)
Parameters
indentation
Stringin The indentation of the json string.debug
boolin Indicates whether debug information is added to the log.
Returns
String
The result.
Exceptions
An error has occurred during Bioseal Library execution.
public string ExportToJson(string indentation, bool debug)
Parameters
indentation
stringin The indentation of the json string.debug
boolin Indicates whether debug information is added to the log.
Returns
string
The result.
Exceptions
An error has occurred during Bioseal Library execution.
public String exportToJson(String indentation, boolean debug) throws BiosealException
Parameters
indentation
Stringin The indentation of the json string.debug
booleanin Indicates whether debug information is added to the log.
Returns
String
The result.
Exceptions
An error has occurred during Bioseal Library execution.
public func exportToJson(indentation: String, debug: Bool) throws -> String
Parameters
indentation
Stringin The indentation of the json string.debug
Boolin Indicates whether debug information is added to the log.
Returns
String
The result.
Exceptions
An error has occurred during Bioseal Library execution.
int id3BiosealLog_ExportToJson (
ID3_BIOSEAL_LOG hLog,
const char * indentation,
bool debug,
char * result,
int * resultSize)
Parameters
hLog
ID3_BIOSEAL_LOGin Handle to the Log object.indentation
const char *in The indentation of the json string.debug
boolin Indicates whether debug information is added to the log.result
char *out The result.resultSize
int *in Size of the ‘result’ buffer. Receives the minimum required buffer size to hold the ‘result’ string if the given one is too small (including the terminating NULL character), otherwise receives the number of characters in ‘result’ (excluding terminating NULL character).
Returns