diff options
Diffstat (limited to 'intl/icu_capi/cpp/docs/source/logging_ffi.rst')
-rw-r--r-- | intl/icu_capi/cpp/docs/source/logging_ffi.rst | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/intl/icu_capi/cpp/docs/source/logging_ffi.rst b/intl/icu_capi/cpp/docs/source/logging_ffi.rst new file mode 100644 index 0000000000..29c7e3d8fb --- /dev/null +++ b/intl/icu_capi/cpp/docs/source/logging_ffi.rst @@ -0,0 +1,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. + |