logger - set logger properties
This command sets global logger properties, also available using command line
enable/disable display of timestamp in log output.
enable/disable logging errors to stderr.
print a warning for all log messages matching the regex.
if a warning message matches the regex, it is printed as regular
if a warning message matches the regex, it is printed as error
message instead and the tool terminates with a nonzero return code.
globally enable/disable debug log messages.
do not print warnings for the specified experimental feature
-expect <type> <regex> <expected_count>
expect log, warning or error to appear. matched errors will terminate
with exit code 0.
gives error in case there is at least one warning that is not expected.
verifies that the patterns previously set up by -expect have actually
been met, then clears the expected log list. If this is not called
manually, the check will happen at yosys exist time instead.