
Each artefact directive takes one or more options, separated by blanks, on one line:
$STRING ENABLE PREFIX get
$EXCEPTION ENABLE NOPREFIX NOPOSTFIX INHERITED PUBLIC std::exception
$ERROR ENABLE EXIT std::exit( 2 )
$SYSLOG ENABLE FACILITY DAEMON LEVEL NOTICE
| Directive | Options |
|---|---|
$STRING, $THROW | common, function |
$ERROR | common, function, EXIT |
$SYSLOG | common, function, FACILITY, LEVEL |
$STREAMABLE | common, class |
$EXCEPTION | common, class, OVERRIDE |
An option a directive does not take is an error:
app.msg:4:9: error: unknown $STRING option 'INHERITED'
The settings are sticky — they apply to every $MESSAGE that follows, until changed. To pick the artefacts of a single message, use the list after $MESSAGE Name : instead — see Messages.
Semantics: Reference › Artefacts.

