Table of Contents

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

IisLoggingCustomFieldCollection

Directory

Gets or sets the logging directory.

public string Directory { get; set; }

Property Value

string

Enabled

Gets or sets whether logging is enabled.

public BooleanOption Enabled { get; set; }

Property Value

BooleanOption

EventDestination

Gets or sets the event destination.

public IisLoggingEventDestination EventDestination { get; set; }

Property Value

IisLoggingEventDestination

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

IisLogFileEncoding

LogFileFormat

Gets or sets the log file format.

public IisLogFileFormat LogFileFormat { get; set; }

Property Value

IisLogFileFormat

LogFileRolloverMethod

Gets or sets the log file rollover method.

public IisLogFileRolloverMethod LogFileRolloverMethod { get; set; }

Property Value

IisLogFileRolloverMethod

LogFileRolloverMethodString

Gets the log file rollover method as a human readable string.

public string LogFileRolloverMethodString { get; set; }

Property Value

string

MaximumLogFileSize

Gets or sets the maximum log file size in bytes.

public uint MaximumLogFileSize { get; set; }

Property Value

uint

Mode

Gets or sets the logging mode.

public IisLoggingMode Mode { get; set; }

Property Value

IisLoggingMode

UseLocalTime

Gets or sets whether to use local time for naming and rollover.

public BooleanOption UseLocalTime { get; set; }

Property Value

BooleanOption

Methods

FromXml(string)

Returns a CENTREL.XIA.Configuration.Types.IisLoggingSettings class from the specified Xml.

public static IisLoggingSettings FromXml(string xml)

Parameters

xml string

The 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.