Sha256: 5a0d2ac699790fd4a4737efe0582568fe2794e6397fd699cec7c3f6a3cf754e7
Contents?: true
Size: 560 Bytes
Versions: 4
Compression:
Stored size: 560 Bytes
Contents
# frozen_string_literal: true module Mnogootex module Log # This data structure represents a log level usually referred to # by its {name}. It has a numeric {priority} and a {color} used # for rendering. # # @!attribute priority # @return [Numeric] the numeric priority of the log level # @!attribute name # @return [Symbol] the human readable name of the log level # @!attribute color # @return [Symbol] the color visually representing the {priority} Level = Struct.new(:priority, :name, :color) end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
mnogootex-2.0.0 | lib/mnogootex/log/level.rb |
mnogootex-1.1.0 | lib/mnogootex/log/level.rb |
mnogootex-1.0.1 | lib/mnogootex/log/level.rb |
mnogootex-1.0.0 | lib/mnogootex/log/level.rb |