Tag Class¶
Definition¶
namespace Sharplog.Settings
- Implements: System.IDisposable
-
Class containing settings of a tag.
Constructors¶
| Name |
|---|
| Tag() |
| Tag(bool, string, LevelContainer, OutputContainer) |
Properties¶
| Name | Type | GET | SET |
|---|---|---|---|
| Enabled | bool | ||
| Format | string | ||
| Levels | LevelContainer | ||
| Outputs | OutputContainer |
Inherited methods¶
| Name | Modifiers | Returns |
|---|---|---|
| Dispose() | public |
Constructors¶
Tag()¶
-
Initializes a new instance of the Tag class using default settings if not provided.
Tag(bool, string, LevelContainer, OutputContainer)¶
-
Initializes a new instance of the Tag class using default settings if not provided.
Parameter¶
enabledbool ·true- Wether the tag is enabled.
formatstring ·null- The format.
levelsLevelContainer ·null- The levels.
outputsOutputContainer ·null- The outputs.
Properties¶
Enabled¶
- Type: bool
-
Gets or sets a value indicating whether this tag is enabled.
Format¶
- Type: string
-
Gets or sets the format.
Levels¶
- Type: LevelContainer
-
Gets or sets the level settings.
Outputs¶
- Type: OutputContainer
-
Gets or sets the outputs.