Przeglądaj źródła

fix: set default logging type to info, to fix include/exclude rules for info logs

Kristian Vos 8 miesięcy temu
rodzic
commit
2a0d5282da
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      backend/src/BaseModule.ts

+ 1 - 1
backend/src/BaseModule.ts

@@ -244,7 +244,7 @@ export default abstract class BaseModule {
 	public log(log: string | Omit<Log, "timestamp" | "category">) {
 		const {
 			message,
-			type = undefined,
+			type = "info",
 			data = {}
 		} = {
 			...(typeof log === "string" ? { message: log } : log)