We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e109c35 commit 7b62a58Copy full SHA for 7b62a58
2 files changed
examples/client_from_config.rs
@@ -1,6 +1,10 @@
1
fn main() {
2
// Create a new Logdash client with default configuration
3
- let (l, m) = logdash::create_logdash(logdash::Config::default().api_key("Your Api Key".into()));
+ let (l, m) = logdash::create_logdash(
4
+ logdash::Config::default()
5
+ .api_key("Your Api Key".into())
6
+ .verbose(true),
7
+ );
8
9
// Send an info log message
10
l.info("Rust SDK example");
examples/client_fron_env.rs
@@ -1,6 +1,6 @@
- let (l, m) = logdash::create_logdash(logdash::Config::default());
+ let (l, m) = logdash::create_logdash(logdash::Config::default().verbose(true));
0 commit comments