The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

The following documentation is automatically generated. Please do not edit this file, but rather the original, inline with Log::Any::Adapter::OpenTracing at lib/Log/Any/Adapter/OpenTracing.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.

NAME

Log::Any::Adapter::OpenTracing - Log::Any support for OpenTracing spans

SYNOPSIS

 use OpenTracing::DSL qw(:v1);
 use Log::Any qw($log);
 use Log::Any::Adapter qw(OpenTracing);
 trace {
  $log->info('Messages in a span should be logged');
 };
 $log->info('Messages outside a span would not be logged');

DESCRIPTION

This Log::Any::Adapter implementation provides support for log messages attached to OpenTracing::Span instances.

It's most likely to be useful in conjunction with Log::Any::Adapter::Multiplexor, so that you keep STDERR/file logging and augment spans whenever they are active.

INHERITED METHODS

Log::Any::Adapter::Base

delegate_method_to_slot, new

AUTHOR

Tom Molesworth TEAM@cpan.org

LICENSE

Copyright Tom Molesworth 2019-2020. Licensed under the same terms as Perl itself.