The output command directs tracer output to the specified destination.
output <+/–> <destination>
+
A plus sign (+) adds the specific destination to a list of destinations. Output goes to all items specified on this list.
-
A minus sign (–) removes the destination from the list of destinations. Messages will no longer be sent to this destination.
destination
Specifies the destination, either standard output (for example, cout) or a file name.
If the specified file cannot be opened, the tracer displays an error message and does not add the file to the list of destinations.
The default destination list contains standard output only.