Skip to content

Commit

Permalink
feat: 🎨 implement log method with console output
Browse files Browse the repository at this point in the history
  • Loading branch information
pelikhan committed Feb 3, 2025
1 parent 372b10a commit f524d66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/testhost.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export class TestHost implements RuntimeHost {

// Placeholder for logging functionality
log(level: LogLevel, msg: string): void {
throw new Error("Method not implemented.")
console.log(`${level}: ${msg}`)
}

// Method to read a file and return its content as a Uint8Array
Expand Down

0 comments on commit f524d66

Please sign in to comment.