WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=d8b2ffbd25dc42addd96b529df28c845984ddb9d
commit d8b2ffbd25dc42addd96b529df28c845984ddb9d Author: Gareth Halfacree <[email protected]> Date: Mon Dec 11 08:01:04 2017 -0800 Wiki page logging.md changed with summary [] by Gareth Halfacree --- pages/develop/c/eina/logging.md.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/develop/c/eina/logging.md.txt b/pages/develop/c/eina/logging.md.txt index 2b84b5469..a6010c1e6 100644 --- a/pages/develop/c/eina/logging.md.txt +++ b/pages/develop/c/eina/logging.md.txt @@ -25,7 +25,7 @@ The log level is used to control which messages should appear. It specifies the ``Eina`` provides ``eina_log_print()``, a standard function to manage all logging messages. This function may be called directly or using helper macros including ``EINA_LOG_DBG()``, ``EINA_LOG_ERR()`` or those that take a specific domain as an argument as with ``EINA_LOG_DOM_DBG()`` and ``EINA_LOG_DOM_ERR()``. Internally, ``eina_log_print()`` will call the function defined with ``eina_log_print_cb_set()``, which defaults to ``eina_log_print_cb_stderr()`` but may be changed to do whatever [...] -The logging system is thread-safe once initialized with ``eina_log_threads_enable()``. The thread that calls this function first is considered "main thread" and other threads will have their thread id (``pthread_self()``) printed in the log message so it is easy to detect from where the messages are coming. +The logging system is thread-safe once initialized with ``eina_log_threads_enable()``. The thread that calls this function first is considered "main thread" and other threads will have their thread ID (``pthread_self()``) printed in the log message so it is easy to detect from where the messages are coming. The different logging levels serve to customize the amount of debugging information and may be used to automatically call ``abort()`` once a message of a given level is printed. This is controlled by the environment variable ``EINA_LOG_ABORT`` and the level to be considered critical with ``EINA_LOG_ABORT_LEVEL``. These can be changed with ``eina_log_abort_on_critical_set()`` and ``eina_log_abort_on_critical_level_set()``. --
