Problem with logging &optional subrecords

Description

The logging framework has a problem when you try to log a subrecord that is &optional. No errors are generated, but the logging framework just drops the log line completely. In the code below, only the second Log::write call works.

This code prints out a file containing the following:

Environment

None

Assignee

Unassigned

Reporter

Seth Hall

Labels

External issue ID

476

Components

Fix versions

Priority

High
Configure