Skip to content

Commit 769a59b

Browse files
ionut-armsbailey-arm
authored andcommitted
Add GlobalConfig with flag for logging errors
This commit adds a GlobalConfig structure with a `log_error_details` flag which controls if Rust error objects are logged along with the message. A `format_error` macro is also added to make the conditional logging easier. Signed-off-by: Ionut Mihalcea <[email protected]>
1 parent 14b94d0 commit 769a59b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)