lib/timber/log_entry.rb in timber-1.1.14 vs lib/timber/log_entry.rb in timber-2.0.0
- old
+ new
@@ -1,10 +1,10 @@
module Timber
# Represents a new log entry into the log. This is an intermediary class between
# `Logger` and the log device that you set it up with.
class LogEntry #:nodoc:
DT_PRECISION = 6.freeze
- SCHEMA = "https://raw.githubusercontent.com/timberio/log-event-json-schema/1.2.6/schema.json".freeze
+ SCHEMA = "https://raw.githubusercontent.com/timberio/log-event-json-schema/1.2.20/schema.json".freeze
attr_reader :context_snapshot, :event, :level, :message, :progname, :tags, :time, :time_ms
# Creates a log entry suitable to be sent to the Timber API.
# @param severity [Integer] the log level / severity
\ No newline at end of file