Add the "log" level back in as an alias to "info"
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@trigger.dev/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Add the "log" level back in as an alias to "info"
|
||||||
@@ -7,7 +7,7 @@ import { flattenAttributes } from "../utils/flattenAttributes";
|
|||||||
import { ClockTime } from "../clock/clock";
|
import { ClockTime } from "../clock/clock";
|
||||||
import { clock } from "../clock-api";
|
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"];
|
export const logLevels: Array<LogLevel> = ["none", "error", "warn", "info", "debug"];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user