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 str
in The indentation of the json string.

debug bool
in 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 String
in The indentation of the json string.

debug bool
in 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 string
in The indentation of the json string.

debug bool
in 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 String
in The indentation of the json string.

debug boolean
in 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 String
in The indentation of the json string.

debug Bool
in 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

in Handle to the Log object.

indentation const char *
in The indentation of the json string.

debug bool
in 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

int
An error code.
See id3BiosealError file for the list of possible error codes.