forked from scylladb/cpp-rust-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Logging: Set tracing subscriber globally
Set default tracing subscriber globally for all threads for the duration of the entire program. This can be set only once, so subsequent attemps to set the log level through `cass_log_set_level` will be ignored. The logging configuration must be done before any other driver function is called, otherwise, the default logging callback will be used, and logs will appear on stderr. Fixes scylladb#110
- Loading branch information
Showing
3 changed files
with
6 additions
and
26 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