NAME

OpenTracing::Log - represents a single log message

DESCRIPTION

Each instance represents one log message.

METHODS

timestamp

When this message was logged.

tags

Arrayref of tags relating to the log entry.

tag_list

List of tags relating to the log entry.

tag

Applies key/value tags to this log message.

The semantic conventions may be of interest here.

Example usage:

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

INHERITED METHODS

OpenTracing::Common

new

AUTHOR

Tom Molesworth <TEAM@cpan.org>

LICENSE

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