Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 945 Bytes

logging_spec.rst

File metadata and controls

27 lines (17 loc) · 945 Bytes

Log Entry Specification

Log entries created by :ref:`dds_layer_ostream_consumer_stdout`, :ref:`dds_layer_ostream_consumer_stdouterr` and :ref:`dds_layer_ostream_consumer_file` (eProsima Fast DDS built-in :ref:`dds_layer_log_consumer`) adhere to the following structure:

<Timestamp> [<Category> <Verbosity Level>] <Message> (<File Name>:<Line Number>) -> Function <Function Name>

An example of such log entry is given by:

2020-05-27 11:45:47.447 [DOCUMENTATION_CATEGORY Error] This is an error message (example.cpp:50) -> Function main

Note

File Name and Line Number, as well as Function Name are only present when enabled. See :ref:`dds_layer_log_config` for details.