File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
datadog-sidecar/src/setup Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 11// Copyright 2021-Present Datadog, Inc. https://www.datadoghq.com/
22// SPDX-License-Identifier: Apache-2.0
33
4- #[ cfg( feature = "logging" ) ]
5- use log:: { debug, warn} ;
64use std:: sync:: LazyLock ;
75use std:: {
86 env, fs, io,
@@ -12,13 +10,16 @@ use std::{
1210 } ,
1311 path:: { Path , PathBuf } ,
1412} ;
15- #[ cfg( not( feature = "logging" ) ) ]
16- use tracing:: { debug, warn} ;
1713
1814use crate :: primary_sidecar_identifier;
1915use crate :: setup:: Liaison ;
2016use datadog_ipc:: platform:: { self , locks:: FLock , Channel } ;
2117
18+ #[ cfg( feature = "logging" ) ]
19+ use log:: { debug, warn} ;
20+ #[ cfg( not( feature = "logging" ) ) ]
21+ use tracing:: { debug, warn} ;
22+
2223pub type IpcClient = tokio:: net:: UnixStream ;
2324pub type IpcServer = UnixListener ;
2425
You can’t perform that action at this time.
0 commit comments