|
-
files
Hi
In my program, i write trace in a file like this:
***************************************************************************
StreamWriter stWriter = new StreamWriter("c:traces",false);
listener t = new TextWriterTraceListener(stWriter);
Debug.Listeners.Clear();
Debug.Listeners.Add(t);
Debug.AutoFlush = true;
Debug.WriteLine("test");
Debug.Close();
stWriter.Close();
***************************************************************************
Please, how i can set the size of the file. For example, if i want a file
of 100 ko maximum.
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks