File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ using System . Text . Json . Serialization ;
2+ using Tapper ;
3+
4+ namespace Initium . Constants ;
5+
6+ /// <summary>
7+ /// Represents different levels of severity for categorizing events, states, or conditions.
8+ /// These levels can be used in various contexts to indicate the importance or criticality of an event.
9+ /// </summary>
10+ [ TranspilationSource ]
11+ [ JsonConverter ( typeof ( JsonStringEnumConverter ) ) ]
12+ public enum SeverityLevels
13+ {
14+ /// <summary>
15+ /// Represents the most detailed level of information. Typically includes extensive and potentially sensitive details.
16+ /// This level should be used with caution in sensitive environments.
17+ /// </summary>
18+ Trace ,
19+
20+ /// <summary>
21+ /// Represents general informational messages. Often used for routine insights or operational context.
22+ /// </summary>
23+ Information ,
24+
25+ /// <summary>
26+ /// Represents situations that indicate potential issues or irregularities but do not disrupt operations.
27+ /// </summary>
28+ Warning ,
29+
30+ /// <summary>
31+ /// Represents conditions that indicate an error or failure in a specific process or operation.
32+ /// Typically requires attention to resolve.
33+ /// </summary>
34+ Error
35+ }
You can’t perform that action at this time.
0 commit comments