Преглед изворни кода

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

Kristian Vos пре 10 месеци
родитељ
комит
2a0d5282da
1 измењених фајлова са 1 додато и 1 уклоњено
  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)