In 0.10.x, I've never had much luck with the set_log invocation. I always set it directly: ::DataMapper.logger = Logger.new.
Personally, I don't think anything is wrong with that as a convention. cheers, --jordan On Oct 20, 2009, at 7:42 PM, sliu wrote: > > Thanks, martin. > > Last night I tried the following but it didn't log out anything: > > DataMapper.Logger.new(STDOUT, :debug) > DataMapper.setup(:default, 'sqlite3:memory:') > > can you reproduce it? > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DataMapper" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/datamapper?hl=en -~----------~----~----~----~------~----~------~--~---
