private void TraceWriteLine(string format, params object[] varParams)
{
lock (_outputLock)
{
int tid = System.Threading.Thread.CurrentThread.GetHashCode();
#if ! (NETCF || SILVERLIGHT)
Console.ForegroundColor = (ConsoleColor)(tid % 8 + 8);
#endif
Console.Write("{0:000} ZipEntry.Write ", tid);
Console.WriteLine(format, varParams);
#if ! (NETCF || SILVERLIGHT)
Console.ResetColor();
#endif
}
}