public TextWriterTraceListener (Stream stream, string name)
			: base (name ?? "")
			{
			if (stream == null)
				throw new ArgumentNullException ("stream");
			if (stream.GetType () == typeof (Stream))
				writer = new StreamWriter (stream);
			else
				mwriter = new MStreamWriter (stream);
			}