Skip to content

Commit 0a6aef8

Browse files
lucasfernoggezihuzi
authored andcommitted
fix(log): export the LogLevel type (tauri-apps#2625)
* fix(log): export the LogLevel type `LogLevel` is an argument of the log functions but it's incorrectly not exported * rebuild
1 parent 400c4b5 commit 0a6aef8

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.changes/export-log-level.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"log": patch
3+
"log-js": patch
4+
---
5+
6+
Export the `LogLevel` type.

plugins/log/api-iife.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/log/guest-js/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export interface LogOptions {
1111
keyValues?: Record<string, string | undefined>
1212
}
1313

14-
enum LogLevel {
14+
export enum LogLevel {
1515
/**
1616
* The "trace" level.
1717
*

0 commit comments

Comments
 (0)