-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: provide plugins get_log_level runtime function & support levels (
#74) This PR aligns the extism host env with Rust, as per extism/extism#758 NOTE of breaking change: I've removed the ability to set the log level on the `*Plugin` itself. To align with Rust SDK, this is only an SDK-global setting. You can still add a custom logger to each plugin function. The SDK won't print any logs unless there is a log function set for each plugin. The global setting is in line with how libraries are expected to respect the main application's log level.
- Loading branch information
Showing
7 changed files
with
165 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.