I suggest to use log4r.
On Wed, Nov 12, 2008 at 3:15 PM, Gavin Jefferies <[EMAIL PROTECTED]> wrote:

>
> Hi Drew,
>
> require 'logger'
> require 'watir/logger'
>
> will get it working for you but I think the first requirement is a bug.
>
> Gavin
>
> On Tue, Nov 11, 2008 at 10:54 PM, drew <[EMAIL PROTECTED]> wrote:
> >
> > when debug lib/watir/logger.rb file
> >
> > prompt "Uninitialized constant Watir::Logger <NameError>"
> >
> > On Nov 12, 2:38 pm, drew <[EMAIL PROTECTED]> wrote:
> >> Hi all,
> >>
> >>   When install watir1.6.2 when use WatirLogger. always prompt
> >> "Uninitialized constant WatirLogger <NameError>"
> >>
> >> it can work in 1.5.6
> >> the code is below:
> >>
> >> class  CoreLogger < WatirLogger
> >>
> >>     def initialize(fileName, logsToKeep, maxLogSize)
> >>         super(fileName , logsToKeep, maxLogSize)
> >>         self.level = Logger::INFO
> >>         self.datetime_format = "%d-%b-%Y %H:%M:%S"
> >>         self.info("Core Logger starting...")
> >>     end
> >> end
> > >
> >
>
>
>
> --
> VMBed - http://vmbed.com/ - Machines when you want them.
> Test Automation - http://vmbed.com/?page/automate
>
> >
>


-- 
Regards,
Edward Deng

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to