LoggerSection Properties |
The LoggerSection type exposes the following members.
| Name | Description | |
|---|---|---|
| AppendToDayLogFile |
Gets or sets a value indicating whether to append to daily log file.
| |
| CopyToConsole |
Config Element - if true, then Logger is shown in console, false is not.
| |
| CurrentConfiguration | Gets a reference to the top-level Configuration instance that represents the configuration hierarchy that the current ConfigurationElement instance belongs to. (Inherited from ConfigurationElement.) | |
| Debug |
Gets or sets a value indicating whether this LoggerSection is in debug mode.
| |
| ElementInformation | Gets an ElementInformation object that contains the non-customizable information and functionality of the ConfigurationElement object. (Inherited from ConfigurationElement.) | |
| ElementProperty | Gets the ConfigurationElementProperty object that represents the ConfigurationElement object itself. (Inherited from ConfigurationElement.) | |
| EvaluationContext | Gets the ContextInformation object for the ConfigurationElement object. (Inherited from ConfigurationElement.) | |
| EventLogging |
Gets or sets the log directory.
| |
| HasContext | Gets a value that indicates whether the CurrentConfiguration property is null. (Inherited from ConfigurationElement.) | |
| IsEnabled |
Gets or sets a value indicating whether this instance is enabled.
| |
| ItemConfigurationProperty | Gets or sets a property or attribute of this configuration element. (Inherited from ConfigurationElement.) | |
| ItemString | Gets or sets a property, attribute, or child element of this configuration element. (Inherited from ConfigurationElement.) | |
| LockAllAttributesExcept | Gets the collection of locked attributes. (Inherited from ConfigurationElement.) | |
| LockAllElementsExcept | Gets the collection of locked elements. (Inherited from ConfigurationElement.) | |
| LockAttributes | Gets the collection of locked attributes (Inherited from ConfigurationElement.) | |
| LockElements | Gets the collection of locked elements. (Inherited from ConfigurationElement.) | |
| LockItem | Gets or sets a value indicating whether the element is locked. (Inherited from ConfigurationElement.) | |
| LogDirectory |
Gets or sets the log directory.
| |
| LogFile |
Gets or sets the log file name. Default is yyyy-MM-dd_[AppName].log
| |
| MaxQueueAge |
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.
| |
| Properties | Gets the collection of properties. (Inherited from ConfigurationElement.) | |
| QueueSize |
Gets or sets the size of the queue - number of records before writing to disk.
| |
| SectionInformation | Gets a SectionInformation object that contains the non-customizable information and functionality of the ConfigurationSection object. (Inherited from ConfigurationSection.) | |
| UseJSON |
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.
| |
| Verbose |
Gets or sets the verbose level. If set to true, additional Logger information is written based on flags in development.
|