Click or drag to resize

RotatingFileLogProvider Class

A Log provider that writes logs to daily log files.
Inheritance Hierarchy

Namespace:  FM.IceLink
Assembly:  FM.IceLink (in FM.IceLink.dll) Version: 3.2.2.607 (3.2.2.607)

The RotatingFileLogProvider type exposes the following members.

Constructors
  NameDescription
Public methodRotatingFileLogProvider(String)
Creates a new instance of the RotatingFileLogProvider. Defaults to LogLevel.Info, and 7 days.
Public methodRotatingFileLogProvider(String, Int32)
Creates a new instance of the RotatingFileLogProvider. Defaults to LogLevel.Info.
Public methodRotatingFileLogProvider(LogLevel, String, Int32)
Creates a new instance of the RotatingFileLogProvider.
Top
Properties
  NameDescription
Public propertyDaysToKeep
Gets how many days of files to keep.
Public propertyFilter
Gets or sets a filter on the log provider.
(Inherited from LogProvider.)
Public propertyLevel
Gets or sets the log level.
(Inherited from LogProvider.)
Public propertyLogDirectory
Gets where to store the log files.
Top
Methods
  NameDescription
Protected methodDoLog
Logs a message at the specified log level.
(Overrides LogProviderDoLog(DateTime, LogLevel, String, String, Exception).)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Protected methodGenerateLogLine
Generates a default log line.
(Inherited from LogProvider.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodLog(DateTime, LogLevel, String, String)
Log a message with no exception.
(Inherited from LogProvider.)
Public methodLog(DateTime, LogLevel, String, String, Exception)
Log a message.
(Inherited from LogProvider.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
See Also