Skip to content
A Ruby gem for generating logging and debugging output.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
lib
test
.gitignore
.glarkrc
Gemfile
Gemfile.lock
LICENSE.txt
README.md
Rakefile
logue.gemspec

README.md

logue

A Ruby gem for generating logging and debugging output. Logging statements include the file, line, class and method from which the logging method was called.

EXAMPLES

require 'logue/log'
require 'logue/loggable'

Logue::Log.level = Logue::Log::DEBUG

class MyClass
  include Logue::Loggable

  def mymethod foo
    info "foo: #{foo}"
  end
end

obj = MyClass.new
obj.mymethod "bar"

Produces:

[/tmp/foo.rb              :  13] {MyClass#mymethod    } foo: bar
You can’t perform that action at this time.