=encoding utf8

=for comment POD_DERIVED_INDEX_GENERATED
The following documentation is automatically generated.  Please do not edit
this file, but rather the original, inline with OpenTracing::SpanContext
at lib/OpenTracing/SpanContext.pm
(on the system that originally ran this).
If you do edit this file, and don't want your changes to be removed, make
sure you change the first line.

=cut

=head1 NAME

OpenTracing::SpanContext - tracks IDs and baggage for spans

=head1 DESCRIPTION

=head2 span

Returns the L<OpenTracing::Span> instance that this wraps.

=head2 log

Writes a log entry to the L<OpenTracing::Span>.

=head2 new_span

Creates a new sub-span under this L<OpenTracing::Span> instance.

=head2 DESTROY

Called on destruction, will mark completion on the span by calling
L<OpenTracing::Span/finish>.

=head1 INHERITED METHODS

=over 4

=item L<OpenTracing::Common>

L<new|OpenTracing::Common/new>

=back

=head1 AUTHOR

Tom Molesworth <TEAM@cpan.org>

=head1 LICENSE

Copyright Tom Molesworth 2018-2021. Licensed under the same terms as Perl itself.

