=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::Log
at lib/OpenTracing/Log.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::Log - represents a single log message

=head1 DESCRIPTION

Each instance represents one log message.

=head1 METHODS

=head2 timestamp

When this message was logged.

=head2 tags

Arrayref of tags relating to the log entry.

=head2 tag_list

List of tags relating to the log entry.

=head2 tag

Applies key/value tags to this log message.

The L<semantic conventions|https://github.com/opentracing/specification/blob/master/semantic_conventions.md>
may be of interest here.

Example usage:

 $log->tag(
  'error.kind' => 'Exception',
  'error.object' => $exception,
 );

=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-2020. Licensed under the same terms as Perl itself.

