File tree Expand file tree Collapse file tree 4 files changed +1
-39
lines changed
crates/stackable-telemetry/src/tracing/settings Expand file tree Collapse file tree 4 files changed +1
-39
lines changed Original file line number Diff line number Diff line change 11//! Console Log Subscriber Settings.
22
3- use std:: ops:: Deref ;
4-
53use tracing:: level_filters:: LevelFilter ;
64
75use super :: { Settings , SettingsBuilder , SettingsToggle } ;
@@ -51,14 +49,6 @@ impl SettingsToggle for ConsoleLogSettings {
5149 }
5250}
5351
54- // impl Deref for ConsoleLogSettings {
55- // type Target = Settings;
56-
57- // fn deref(&self) -> &Self::Target {
58- // &self.common_settings
59- // }
60- // }
61-
6252/// For building [`ConsoleLogSettings`].
6353///
6454/// <div class="warning">
Original file line number Diff line number Diff line change 11//! File Log Subscriber Settings.
22
3- use std:: { ops :: Deref , path:: PathBuf } ;
3+ use std:: path:: PathBuf ;
44
55use super :: { Settings , SettingsToggle } ;
66
@@ -31,14 +31,6 @@ impl SettingsToggle for FileLogSettings {
3131 }
3232}
3333
34- // impl Deref for FileLogSettings {
35- // type Target = Settings;
36-
37- // fn deref(&self) -> &Self::Target {
38- // &self.common_settings
39- // }
40- // }
41-
4234/// For building [`FileLogSettings`].
4335///
4436/// <div class="warning">
Original file line number Diff line number Diff line change 11//! OTLP Log Subscriber Settings.
22
3- use std:: ops:: Deref ;
4-
53use tracing:: level_filters:: LevelFilter ;
64
75use super :: { Settings , SettingsBuilder , SettingsToggle } ;
@@ -28,14 +26,6 @@ impl SettingsToggle for OtlpLogSettings {
2826 }
2927}
3028
31- // impl Deref for OtlpLogSettings {
32- // type Target = Settings;
33-
34- // fn deref(&self) -> &Self::Target {
35- // &self.common_settings
36- // }
37- // }
38-
3929pub struct OtlpLogSettingsBuilder {
4030 pub ( crate ) common_settings : Settings ,
4131}
Original file line number Diff line number Diff line change 11//! OTLP Trace Subscriber Settings.
22
3- use std:: ops:: Deref ;
4-
53use tracing:: level_filters:: LevelFilter ;
64
75use super :: { Settings , SettingsBuilder , SettingsToggle } ;
@@ -28,14 +26,6 @@ impl SettingsToggle for OtlpTraceSettings {
2826 }
2927}
3028
31- // impl Deref for OtlpTraceSettings {
32- // type Target = Settings;
33-
34- // fn deref(&self) -> &Self::Target {
35- // &self.common_settings
36- // }
37- // }
38-
3929pub struct OtlpTraceSettingsBuilder {
4030 pub ( crate ) common_settings : Settings ,
4131}
You can’t perform that action at this time.
0 commit comments