vendor/bundle/ruby/2.6.0/gems/lumberjack-1.2.8/lib/lumberjack/tag_formatter.rb
# Add a default formatter applied to all tag values. This can either be a Lumberjack::Formatter
# or an object that responds to `call` or a block.
Add a default formatter applied to all tag values. This can either be a Lumberjack::Formatter
or an object that responds to `call` or a block.
Add a default formatter applied to all tag values . This can either be a Lumberjack :: Formatter or an object that responds to ` call ` or a block .
def default(formatter = nil, &block)
      formatter ||= block
      formatter = dereference_formatter(formatter)
      @default_formatter = formatter
      self
    end
def default ( formatter = nil , & block ) formatter ||= block formatter = dereference_formatter ( formatter ) @default_formatter = formatter self end
Add a default formatter applied to all tag values.
Add a default formatter applied to all tag values .
formatter
block