Sha256: 51cd76a452ec88306033b68c0d4aa4c920cf5785fc79eb5a3ef08b18485453f5
Contents?: true
Size: 598 Bytes
Versions: 61
Compression:
Stored size: 598 Bytes
Contents
require 'fluent/log' # For elasticsearch-ruby v7.0.0 or later # logger for Elasticsearch::Loggable required the following methods: # # * debug? # * info? # * warn? # * error? # * fatal? module Fluent class Log # Elasticsearch::Loggable does not request trace? method. # def trace? # @level <= LEVEL_TRACE # end def debug? @level <= LEVEL_DEBUG end def info? @level <= LEVEL_INFO end def warn? @level <= LEVEL_WARN end def error? @level <= LEVEL_ERROR end def fatal? @level <= LEVEL_FATAL end end end
Version data entries
61 entries across 61 versions & 2 rubygems