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
--~--~---------~--~----~------------~-------~--~----~
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