record_fields: Include information about optionality of fields

This was reported as a wish for log schema generation, so add it...
This commit is contained in:
Arne Welzel 2023-04-27 21:10:24 +02:00
parent 0374d0fe42
commit f4bb8fae33
6 changed files with 61 additions and 52 deletions

3
NEWS
View file

@ -201,6 +201,9 @@ New Functionality
- Environment variables for the execution of log rotation postprocessors can
be set via ``Log::default_rotation_postprocessor_cmd_env``.
- The ``record_field`` record was extended by ``optional`` and ``record_fields()``
can now be used to determine the optionality of record fields.
Changed Functionality
---------------------