From: Brian Candler Date: 2010-05-12T17:20:16+09:00 Subject: Re: How to create the log Josh Cheek wrote: > Math::log(Math::E) # => 1.0 > Math::log10(10) # => 1.0 > > # for kinder syntax, you can include the Math module > include Math > log(E) # => 1.0 > log10(10) # => 1.0 Or maybe the OP was looking for logger.rb in the standard library: http://svn.ruby-lang.org/repos/ruby/trunk/lib/logger.rb or one of the gems like log4r. Who knows? There is good advice on asking questions in a way more likely to get the answers you want, here: http://www.catb.org/~esr/faqs/smart-questions.html#intro -- Posted via http://www.ruby-forum.com/.