mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-09-20 21:20:42 +02:00
Merge remote-tracking branch 'origin/v1' into v2
This commit is contained in:
@@ -13,7 +13,8 @@ declare global {
|
||||
export type LogOptions = {
|
||||
file?: string;
|
||||
line?: number;
|
||||
} & Record<string, string | undefined>;
|
||||
keyValues?: Record<string, string | undefined>;
|
||||
};
|
||||
|
||||
enum LogLevel {
|
||||
/**
|
||||
@@ -59,7 +60,7 @@ async function log(
|
||||
return name.length > 0 && location !== "[native code]";
|
||||
});
|
||||
|
||||
const { file, line, ...keyValues } = options ?? {};
|
||||
const { file, line, keyValues } = options ?? {};
|
||||
|
||||
let location = filtered?.[0]?.filter((v) => v.length > 0).join("@");
|
||||
if (location === "Error") {
|
||||
|
||||
Reference in New Issue
Block a user