.. index:: 
  !Log.exportToJson Method
  
.. _id3_bioseal_log_export_to_json_class_method:

===============================================================================
Log.exportToJson Method
===============================================================================

Module: :ref:`Log<id3_bioseal_log_class>`

Definition
----------

Exports a representation of the log, in JSON format.


.. code:: Dart

    String exportToJson(String? indentation, bool debug)

**Parameters**

.. line-block::

    ``indentation`` String
    :guilabel:`in` The indentation of the json string.

    ``debug`` bool
    :guilabel:`in` Indicates whether debug information is added to the log.


**Returns**

.. line-block::

    ``String``
    The result.

**Exceptions**

.. line-block::

    :ref:`BiosealException<id3_bioseal_bioseal_exception>`
    An error has occurred during Bioseal Library execution.



