Add log filters to web ui (#746)

* Add max level select to logs

Closes: #745

* Add log filter for server actions

Closes: #744

* Respond to comments

Change name of component, clean up onChange anon function
This commit is contained in:
Cooldude2606 authored and GitHub committed 2025-04-10 16:04:05 +01:00
1 parent 81fb223d5e
commit f3a62e585f
8 files changed
+113 -27

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ type saveListHandler = (saveListEvent: lib.SaveDetails) => void;
type modPackHandler = (modPack: lib.ModPack) => void;
type modInfoHandler = (modInfo: lib.ModInfo) => void;
type userHandler = (rawUser: lib.User) => void;
type logHandler = (info: { level:string, message:string }) => void;
type logHandler = (info: { level: keyof typeof lib.levels, message: string }) => void;
/**
* Connector for control connection to controller