feat: added debug mode and optimized logging

This commit is contained in:
2025-10-26 23:48:35 +05:30
parent 14fed76c1e
commit 9150fc22f7
8 changed files with 101 additions and 19 deletions

View File

@@ -1,6 +1,6 @@
export interface Log {
timestamp: number;
level: 'info' | 'warning' | 'error' | 'debug';
level: 'info' | 'warning' | 'error' | 'debug' | 'progress';
context: string;
message: string;
}
}

View File

@@ -44,6 +44,10 @@ export interface Settings {
use_custom_commands: boolean;
custom_commands: CustomCommand[];
filename_template: string;
debug_mode: boolean;
log_verbose: boolean;
log_warning: boolean;
log_progress: boolean;
// extension settings
websocket_port: number;
}