Skip to content

Commit

Permalink
fixing logger docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam French committed May 8, 2008
1 parent 6341058 commit 52ec354
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FAQ
Expand Up @@ -63,7 +63,7 @@ back. If you want to just execute something against the database, use

Yup, to set this up, do:

DataMapper.logger = Logger.new("/path/to/your/logger.log", "w+")
DataMapper::Logger.new(STDOUT, 0)

Incidentally, if you'd like to send a message into the DataMapper logger, do:

Expand Down

0 comments on commit 52ec354

Please sign in to comment.