summaryrefslogtreecommitdiffstats
path: root/intl/icu_capi/cpp/docs/source/logging_ffi.rst
blob: 29c7e3d8fb6ccbab95facc9ef5277b94063416b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
``logging::ffi``
================

.. cpp:class:: ICU4XLogger

    An object allowing control over the logging used


    .. cpp:function:: static bool init_simple_logger()

        Initialize the logger using ``simple_logger``

        Requires the ``simple_logger`` Cargo feature.

        Returns ``false`` if there was already a logger set.


    .. cpp:function:: static bool init_console_logger()

        Deprecated: since ICU4X 1.4, this now happens automatically if the ``log`` feature is enabled.