From a56100515fd8db548f9ccc27bd91739da1fd3a83 Mon Sep 17 00:00:00 2001 From: Lucas Nogueira Date: Fri, 11 Apr 2025 19:33:30 -0300 Subject: [PATCH] fix(log): export the LogLevel type `LogLevel` is an argument of the log functions but it's incorrectly not exported --- .changes/export-log-level.md | 6 ++++++ plugins/log/guest-js/index.ts | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .changes/export-log-level.md diff --git a/.changes/export-log-level.md b/.changes/export-log-level.md new file mode 100644 index 00000000..11e0d93f --- /dev/null +++ b/.changes/export-log-level.md @@ -0,0 +1,6 @@ +--- +"log": patch +"log-js": patch +--- + +Export the `LogLevel` type. diff --git a/plugins/log/guest-js/index.ts b/plugins/log/guest-js/index.ts index 5b097993..93022a97 100644 --- a/plugins/log/guest-js/index.ts +++ b/plugins/log/guest-js/index.ts @@ -11,7 +11,7 @@ export interface LogOptions { keyValues?: Record } -enum LogLevel { +export enum LogLevel { /** * The "trace" level. *