Skip to content

Commit

Permalink
chore: add isEnabled
Browse files Browse the repository at this point in the history
  • Loading branch information
cdaguerre committed Oct 2, 2024
1 parent 68dc2b6 commit 0ba41f5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Tracing/Tracer.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,9 @@ public function spanBuilder(string $spanName): SpanBuilderInterface
{
return $this->decorated->spanBuilder($spanName);
}

public function isEnabled(): bool
{
return $this->decorated->isEnabled();
}
}

0 comments on commit 0ba41f5

Please sign in to comment.