mirror of
https://github.com/idanoo/autobrr
synced 2025-07-26 02:09:13 +00:00
feat(settings): make log level configurable from UI (#704)
* feat(settings): set log level * fix: light theme colors * fix: light theme colors size unit
This commit is contained in:
parent
8cb4a0244c
commit
ac276868fb
11 changed files with 310 additions and 30 deletions
8
web/src/types/Config.d.ts
vendored
8
web/src/types/Config.d.ts
vendored
|
@ -1,8 +1,12 @@
|
|||
type LogLevel = "DEBUG" | "INFO" | "WARN" | "ERROR" | "TRACE";
|
||||
|
||||
interface Config {
|
||||
host: string;
|
||||
port: number;
|
||||
log_level: string;
|
||||
log_level: LogLevel;
|
||||
log_path: string;
|
||||
log_max_size: number;
|
||||
log_max_backups: number;
|
||||
base_url: string;
|
||||
check_for_updates: boolean;
|
||||
version: string;
|
||||
|
@ -16,5 +20,5 @@ interface ConfigUpdate {
|
|||
log_level?: string;
|
||||
log_path?: string;
|
||||
base_url?: string;
|
||||
check_for_updates: boolean;
|
||||
check_for_updates?: boolean;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue