BaseSettings Class¶
Definition¶
namespace Sharplog.Settings
- Implements: System.IDisposable
-
Base class containing all settings.
Constructors¶
| Name |
|---|
| BaseSettings(string, LevelContainer, OutputContainer, Dictionary<string, Tag>) |
Properties¶
| Name | Type | GET | SET |
|---|---|---|---|
| Format | string | ||
| Levels | LevelContainer | ||
| Outputs | OutputContainer | ||
| Tags | Dictionary<string, Tag> |
Inherited methods¶
| Name | Modifiers | Returns |
|---|---|---|
| Dispose() | public |
Constructors¶
BaseSettings(string, LevelContainer, OutputContainer, Dictionary<string, Tag>)¶
-
Initializes a new instance of the BaseSettings class using default settings if not provided.
Parameter¶
formatstring ·"$D$: [$L$]$Cp{ [}s{] }$$Tp{ [}s{] }$ $M$$Ep{\nException: }$$Sp{\nStackTrace: }$"- The format.
levelsLevelContainer ·null- The levels.
outputsOutputContainer ·null- The outputs.
tagsDictionary<string, Tag> ·null- The tags.
Properties¶
Format¶
- Type: string
-
Gets or sets the general format.
Levels¶
- Type: LevelContainer
-
Gets or sets the general levels.
Outputs¶
- Type: OutputContainer
-
Gets or sets the general outputs.
Tags¶
- Type: Dictionary<string, Tag>
-
Gets or sets the tags.