Remove unneeded lifetime (#573)
This commit is contained in:
parent
c3fa6e9623
commit
90dc4b93ad
|
@ -42,7 +42,7 @@ pub struct Instrumentation {
|
|||
pub log_directives: Vec<Directive>,
|
||||
}
|
||||
|
||||
impl<'a> Instrumentation {
|
||||
impl Instrumentation {
|
||||
pub fn log_level(&self) -> String {
|
||||
match self.verbose {
|
||||
0 => "info",
|
||||
|
@ -52,7 +52,7 @@ impl<'a> Instrumentation {
|
|||
.to_string()
|
||||
}
|
||||
|
||||
pub fn setup<'b: 'a>(&'b self) -> eyre::Result<()> {
|
||||
pub fn setup(&self) -> eyre::Result<()> {
|
||||
let filter_layer = self.filter_layer()?;
|
||||
|
||||
let registry = tracing_subscriber::registry()
|
||||
|
|
Loading…
Reference in a new issue