Skip to content
Browse files

Added a note about how to setup the logger

  • Loading branch information...
1 parent c8b503e commit 2d2b4cf49b6302276ce2b5de55adf37c6a60dd65 @snusnu snusnu committed Feb 10, 2010
Showing with 3 additions and 0 deletions.
  1. +3 −0 getting-started.markdown
View
3 getting-started.markdown
@@ -48,6 +48,9 @@ Specify your database connection
You need make sure this is set before you define your models.
{% highlight ruby %}
+ # If you want the logs displayed you have to do this before the call to setup
+ DataMapper::Logger.new($stdout, :debug)
+
# An in-memory Sqlite3 connection:
DataMapper.setup(:default, 'sqlite3::memory:')

0 comments on commit 2d2b4cf

Please sign in to comment.
Something went wrong with that request. Please try again.