Click or drag to resize

LoggerSection Properties

The LoggerSection type exposes the following members.

Properties
  NameDescription
Public propertyAppendToDayLogFile
Gets or sets a value indicating whether to append to daily log file.
Public propertyCopyToConsole
Config Element - if true, then Logger is shown in console, false is not.
Public propertyCurrentConfiguration
Gets a reference to the top-level Configuration instance that represents the configuration hierarchy that the current ConfigurationElement instance belongs to.
(Inherited from ConfigurationElement.)
Public propertyDebug
Gets or sets a value indicating whether this LoggerSection is in debug mode.
Public propertyElementInformation
Gets an ElementInformation object that contains the non-customizable information and functionality of the ConfigurationElement object.
(Inherited from ConfigurationElement.)
Protected propertyElementProperty
Gets the ConfigurationElementProperty object that represents the ConfigurationElement object itself.
(Inherited from ConfigurationElement.)
Protected propertyEvaluationContext
Gets the ContextInformation object for the ConfigurationElement object.
(Inherited from ConfigurationElement.)
Public propertyEventLogging
Gets or sets the log directory.
Protected propertyHasContext
Gets a value that indicates whether the CurrentConfiguration property is null.
(Inherited from ConfigurationElement.)
Public propertyIsEnabled
Gets or sets a value indicating whether this instance is enabled.
Protected propertyItemConfigurationProperty
Gets or sets a property or attribute of this configuration element.
(Inherited from ConfigurationElement.)
Protected propertyItemString
Gets or sets a property, attribute, or child element of this configuration element.
(Inherited from ConfigurationElement.)
Public propertyLockAllAttributesExcept
Gets the collection of locked attributes.
(Inherited from ConfigurationElement.)
Public propertyLockAllElementsExcept
Gets the collection of locked elements.
(Inherited from ConfigurationElement.)
Public propertyLockAttributes
Gets the collection of locked attributes
(Inherited from ConfigurationElement.)
Public propertyLockElements
Gets the collection of locked elements.
(Inherited from ConfigurationElement.)
Public propertyLockItem
Gets or sets a value indicating whether the element is locked.
(Inherited from ConfigurationElement.)
Public propertyLogDirectory
Gets or sets the log directory.
Public propertyLogFile
Gets or sets the log file name. Default is yyyy-MM-dd_[AppName].log
Public propertyMaxQueueAge
Gets or sets the max log age in seconds. If log reaches this timespan, it writes to disk even if max queue size hasn't been reached.
Protected propertyProperties
Gets the collection of properties.
(Inherited from ConfigurationElement.)
Public propertyQueueSize
Gets or sets the size of the queue - number of records before writing to disk.
Public propertySectionInformation
Gets a SectionInformation object that contains the non-customizable information and functionality of the ConfigurationSection object.
(Inherited from ConfigurationSection.)
Public propertyUseJSON
Gets or sets whether to finalize logfile as a JSON file. If set to true, the log file can be parsed as JSON using json.Net.
Public propertyVerbose
Gets or sets the verbose level. If set to true, additional Logger information is written based on flags in development.
Top
See Also