As part of this change, the console no longer has to be added as a dedicated trace listener. Since we already special-case this listener when formatting log output, it's easier to just keep the implementation separate to the other trace listeners.
#rb none
[CL 4111304 by Ben Marsh in Dev-Core branch]