Browse Source

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

Kristian Vos 8 months ago
parent
commit
2a0d5282da
1 changed files with 1 additions and 1 deletions
  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)