-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UX improvements: FFI logging, error message fix, Rust stream borrow c…
…hecks (#515) ## What is the goal of this PR? We improve the UX of Driver usage in several ways: - [Rust/Java/Python] Fix the formatting of error messages received from the server during a transaction. - [Java] Fix native error message formatting. - [Java/Python] Add the ability to enable Rust logging over FFI (resolves #482). - The granularity of the logs is controlled by the `TYPEDB_DRIVER_LOG_LEVEL` environment variable, which can be set to any value of `error` (default), `warn`, `info`, `debug`, or `trace`, in order of increasing verbosity. Setting the value to `"typedb_driver=info"` will show only the typedb-driver messages. - More advanced syntax is described in [the env_logger documentation](https://docs.rs/env_logger/latest/env_logger/index.html#enabling-logging) - [Rust] Network streams now borrow the transaction, so that the transaction can't be mistakenly dropped. (resolves #449)
- Loading branch information
1 parent
fc97c57
commit 96be0f6
Showing
34 changed files
with
699 additions
and
663 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
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
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
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
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.