Add the "log" level back in as an alias to "info"

This commit is contained in:
Eric Allam
2024-05-06 12:28:17 +01:00
parent 6d9dfbc75d
commit d490bc5cbf
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"@trigger.dev/core": patch
---
Add the "log" level back in as an alias to "info"
+1 -1
View File
@@ -7,7 +7,7 @@ import { flattenAttributes } from "../utils/flattenAttributes";
import { ClockTime } from "../clock/clock";
import { clock } from "../clock-api";
export type LogLevel = "none" | "error" | "warn" | "info" | "debug";
export type LogLevel = "none" | "error" | "warn" | "info" | "debug" | "log";
export const logLevels: Array<LogLevel> = ["none", "error", "warn", "info", "debug"];