Browse files

- update logging style to reflect new awesomeness given by the cabin

  library
  • Loading branch information...
1 parent b4b5340 commit 5126c155b8fb5347f9764ed9c024346219bfa952 @jordansissel jordansissel committed Jan 14, 2012
Showing with 3 additions and 5 deletions.
  1. +3 −5 STYLE.md
View
8 STYLE.md
@@ -1,9 +1,8 @@
# Style Guide
Rather than write a full style guide, please follow by examples you see in the
-code. If you send me a patch, I will not reject it for style reasons (but I
-will fix it before it gets committed)
-
+code. If you send me a patch, I will not reject it for style reasons (but I
+will fix it before it gets committed).
## Logging
@@ -15,8 +14,7 @@ Rather than this:
Do this:
- @logger.info(["Some error occured in this request", { :request => request, :input => input, :client => ip}])
-
+ @logger.info("Some error occured in this request", :request => request, :input => input, :client => ip)
## Code Style

0 comments on commit 5126c15

Please sign in to comment.