Level Class¶
Definition¶
namespace Sharplog.Settings
Constructors¶
Name |
---|
Level() |
Level(char, bool, string)] |
Properties¶
Name | Type | GET | SET |
---|---|---|---|
Enabled | bool | ||
Format | string | ||
Short | char |
Constructors¶
Level()¶
-
Initializes a new instance of the level class using default values.
Level(char, bool, string)¶
-
Initializes a new instance of the Level class.
Parameter¶
@short
char ·-
- The short for the log level.
enabled
bool ·true
- Wether the level is enabled.
format
string ·null
- The format.
Properties¶
Enabled¶
- Type: bool
-
Gets or sets a value indicating whether this level is enabled.
Format¶
- Type: string
-
Gets or sets the optional format.
Short¶
- Type: char
-
Gets or sets a char representing the log level.