We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8fe6b7 commit 1c04b9eCopy full SHA for 1c04b9e
datadog-log/src/logger.rs
@@ -134,7 +134,7 @@ impl Logger {
134
135
// Add file layer if configured
136
if let Some(file_config) = &self.file_config {
137
- if let Ok(file_layer) = file_layer(&*file_config.path) {
+ if let Ok(file_layer) = file_layer(&file_config.path) {
138
layers.push(file_layer);
139
}
140
@@ -193,6 +193,7 @@ fn env_filter() -> EnvFilter {
193
194
195
/// Create standard output layer.
196
+#[allow(clippy::type_complexity)]
197
fn std_layer(
198
config: &StdConfig,
199
) -> Result<
@@ -212,6 +213,7 @@ fn std_layer(
212
213
.boxed())
214
215
216
217
fn file_layer(
218
path: &str,
219
0 commit comments