Skip to content

Commit

Permalink
Simple content changes in scrabook
Browse files Browse the repository at this point in the history
  • Loading branch information
equivalent committed Mar 12, 2013
1 parent 11d089b commit bacc3a8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions wisdom_inside/scraps2/rails
@@ -1,6 +1,13 @@
# custom Logger

NotificationLogger = Logger.new( File.open("#{Rails.root.to_s}/log/#{Rails.env}_notifications.log", 'a') )
NotificationLogger.info 'Hello World!'

you can add the first line to e.g.: `config/application.rb` and call the second line anywhere

date: 2013-03-12
rails: 3.2.12
keys: custom logger logging rails log


# Rails arel
Expand Down

0 comments on commit bacc3a8

Please sign in to comment.