c# log file truncation -


I would like to create a class that creates and manages the log files. I should shorten the log file, when it is more than a certain amount of text rows. Any person has any recommendations to remove lines from the beginning of a text file.

Unless it is for a class assignment, why not use the open source option available? Log4net allows you to roll between a fixed number of specified files.


Comments