From: Tommy Morgan Date: 2008-08-14T23:55:51+09:00 Subject: Re: Ruby printing to Cgi Error Log ------=_Part_48050_29806698.1218725914131 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Patrick; There are a few frameworks in Ruby for handling logging. The one that comes with Ruby is documented here: www.ruby-doc.org/core/classes/Logger.html There are also other frameworks available, such as Log4r: log4r.sourceforge.net/ There are probably others available as well but these are the two with which I am currently familiar. Either of those should provide the functionality you are looking for. --Tommy M. On Thu, Aug 14, 2008 at 10:48 AM, Patrick Li wrote: > Hi guys, > Just a simple question that I can't seem to find anywhere on google. > > is there a ruby equivalent for PHP's error_log()? > > I'm writing a webpage, and it makes it a lot easier to debug if I could > just write to the error log. > > Thanks for your help. > -Patrick > -- > Posted via http://www.ruby-forum.com/. > > ------=_Part_48050_29806698.1218725914131--