Sha256: 0aebd6c1a285805072fc7017aea9c0d2edb5ab7a8c5a82c2cb3cc573e73384d6

Contents?: true

Size: 575 Bytes

Versions: 1

Compression:

Stored size: 575 Bytes

Contents

module Timber
  # These settings are established by the Timber API. Changing these will result
  # in unsuccessful log delivery.
  module APISettings
    DATE_FORMAT = :iso8601.freeze # must be a method name
    DATE_FORMAT_PRECISION = 6 # millisecond digits
    MESSAGE_BYTE_SIZE_MAX = 1_000_000.freeze # 1mb

    # List of types that the Timber API accepts
    BOOLEAN_TYPE = "integer".freeze
    DATE_TYPE    = "date".freeze
    FLOAT_TYPE   = "float".freeze
    INTEGER_TYPE = "integer".freeze
    NIL_TYPE     = "nil".freeze
    STRING_TYPE  = "string".freeze
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
timberio-1.0.0.beta1 lib/timber/api_settings.rb