Currently there is confusion between different log level numbering schemes:
TelemetryLevel (console/browser logging):
- 0 = Debug
- 1 = Information
- 2 = Warning
- 3 = Error
- 4 = Critical
LogLevel (CLI/server logging):
- 0 = None
- 1 = Error
- 2 = Warning
- 3 = Info
- 4 = Debug
This inconsistency makes it difficult for developers to configure logging levels consistently. We should standardize on a common numbering scheme across both systems.
Proposed solution:
Consider aligning both systems to use a common standard like:
- 0 = Debug (most verbose)
- 1 = Info
- 2 = Warning
- 3 = Error
- 4 = Critical (least verbose)
- 5 = None (no logging)
This would make the numbering intuitive (higher numbers = less verbose) and consistent across the framework.
Currently there is confusion between different log level numbering schemes:
TelemetryLevel (console/browser logging):
LogLevel (CLI/server logging):
This inconsistency makes it difficult for developers to configure logging levels consistently. We should standardize on a common numbering scheme across both systems.
Proposed solution:
Consider aligning both systems to use a common standard like:
This would make the numbering intuitive (higher numbers = less verbose) and consistent across the framework.