NET Logging Library
DefaultMaxLogEntries Property



KellermanSoftware.NetLoggingLibrary Namespace > Configuration Class : DefaultMaxLogEntries Property
For file and database targets, this is the default maximum number of entries before rolling occurs. The default is 10,000. By default the oldest entries will be discarded. Set to zero for unlimited.
Syntax
Public Property DefaultMaxLogEntries As Integer
Dim instance As Configuration
Dim value As Integer
 
instance.DefaultMaxLogEntries = value
 
value = instance.DefaultMaxLogEntries
public int DefaultMaxLogEntries {get; set;}
public:
property int DefaultMaxLogEntries {
   int get();
   void set (    int value);
}
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Configuration Class
Configuration Members