Class: SemanticLogger::Base::Log

Inherits:
Struct
  • Object
show all
Defined in:
lib/semantic_logger/base.rb

Overview

Struct Log

level

Log level of the supplied log call
:trace, :debug, :info, :warn, :error, :fatal

thread_name

Name of the thread in which the logging call was called

name

Class name supplied to the logging instance

message

Text message to be logged

payload

Optional Hash or Ruby Exception object to be logged

time

The time at which the log entry was created

duration

The time taken to complete a benchmark call

tags

Any tags active on the thread when the log call was made

level_index

Internal index of the log level

metric [Object]

Object supplied when benchmark_x was called