Refactor terminal and remove duplicate code.

This commit is contained in:
Ankit Mahato
2025-09-28 13:55:32 +05:30
parent dc7aa246d7
commit 3545c75cd5
21 changed files with 91 additions and 253 deletions

8
lib/terminal/enums.dart Normal file
View File

@@ -0,0 +1,8 @@
/// Source category of a terminal entry
enum TerminalSource { network, js, system }
/// Severity level of a terminal entry
enum TerminalLevel { debug, info, warn, error }
/// Phase of a network log lifecycle
enum NetworkPhase { started, progress, completed, failed }