diff options
author | 2024-08-11 19:58:23 +0200 | |
---|---|---|
committer | 2024-08-11 19:58:23 +0200 | |
commit | 2a28303b84bcfa24dc1ae000d55b0eb2edc7ca7d (patch) | |
tree | 937df65d06e55f8508e0ef9636964a6e0d417de0 /src/error.rs | |
parent | 65282048aefecda06f937ed670755b64b19ce9b1 (diff) | |
parent | d186099afede52316789502ee9bb8b14db5dd914 (diff) |
Merge pull request #1 from aihphysics/logging-tracing
Addition of Tracing crate to logging options. Added an enum and method LightstreamClient to allow configuration with logging using the Tracing crate. Minimal implementation, could be expanded further with proper spans.
Diffstat (limited to 'src/error.rs')
-rw-r--r-- | src/error.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/error.rs b/src/error.rs index 33c6ff8..0888818 100644 --- a/src/error.rs +++ b/src/error.rs @@ -1,5 +1,6 @@ use std::error::Error; use std::fmt; +use tracing::error; #[derive(Debug)] pub struct IllegalArgumentException(String); |