The binary log component provides a wrapper around https://github.com/p-ranav/binary_log for enabling compact binary logging of basic integer, floating point, and string data types.
This component simply exposes the p-ranav/binary_log binary logger, with some modifications in a fork finger563/binary_log to allow packer customization as is required on embedded systems such as with ESP-IDF.
The binary-log
does not support all datatypes, but only some base datatypes
such as integer types, float types, and string types.
The logger produces the following data:
For more information about the logging, its format, and the types supported, please see p-ranav/binary_log.
The example shows how to use the binary-log
component to format
and store logs in a binary packed form, either to disk or into a ringbuffer in
memory.
idf.py add-dependency "espp/binary-log^1.0.3"