Writes a category name and message followed by a line terminator to the trace listeners in the listeners collection.