Class IisLoggingSettings
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents the IIS logging settings.
public class IisLoggingSettings : BypassSection
- Inheritance
-
IisLoggingSettings
- Inherited Members
Constructors
IisLoggingSettings()
Intializes a new instance of the CENTREL.XIA.Configuration.Types.IisLoggingSettings class.
public IisLoggingSettings()
Properties
CustomFields
Gets or sets the custom fields.
public IisLoggingCustomFieldCollection CustomFields { get; set; }
Property Value
Directory
Gets or sets the logging directory.
public string Directory { get; set; }
Property Value
Enabled
Gets or sets whether logging is enabled.
public BooleanOption Enabled { get; set; }
Property Value
EventDestination
Gets or sets the event destination.
public IisLoggingEventDestination EventDestination { get; set; }
Property Value
Fields
Gets or sets the logging fields.
public SerializableStringCollection Fields { get; set; }
Property Value
- SerializableStringCollection
LogFileEncoding
Gets or sets the log file encoding.
public IisLogFileEncoding LogFileEncoding { get; set; }
Property Value
LogFileFormat
Gets or sets the log file format.
public IisLogFileFormat LogFileFormat { get; set; }
Property Value
LogFileRolloverMethod
Gets or sets the log file rollover method.
public IisLogFileRolloverMethod LogFileRolloverMethod { get; set; }
Property Value
LogFileRolloverMethodString
Gets the log file rollover method as a human readable string.
public string LogFileRolloverMethodString { get; set; }
Property Value
MaximumLogFileSize
Gets or sets the maximum log file size in bytes.
public uint MaximumLogFileSize { get; set; }
Property Value
Mode
Gets or sets the logging mode.
public IisLoggingMode Mode { get; set; }
Property Value
UseLocalTime
Gets or sets whether to use local time for naming and rollover.
public BooleanOption UseLocalTime { get; set; }
Property Value
Methods
FromXml(string)
Returns a CENTREL.XIA.Configuration.Types.IisLoggingSettings class from the specified Xml.
public static IisLoggingSettings FromXml(string xml)
Parameters
xml
stringThe XML representation of the CENTREL.XIA.Configuration.Types.IisLoggingSettings object
Returns
- IisLoggingSettings
A CENTREL.XIA.Configuration.Types.IisLoggingSettings class from the specified Xml.
ToString()
Returns the logging settings as a human readable string.
public override string ToString()
Returns
- string
The logging settings as a human readable string.