Sha256: a05dd6250882d1c1475580f23e6de2b7205dc7a7d8ca65046298805ab3f41d34

Contents?: true

Size: 402 Bytes

Versions: 2

Compression:

Stored size: 402 Bytes

Contents

#          Copyright (c) 2008 Michael Fellinger m.fellinger@gmail.com
# All files in this distribution are subject to the terms of the Ruby license.

require 'logger'

module Ramaze

  # Informer for the Stdlib Logger

  class Logger < ::Logger

    # integration to Logging

    def log(tag, *args)
      __send__(tag, args.join("\n"))
    end

    def dev(*args)
      debug(*args)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ramaze-0.3.9.1 lib/ramaze/log/logger.rb
ramaze-0.3.9 lib/ramaze/log/logger.rb