diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2019-03-24 15:29:02 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-24 15:29:02 +0900 |
commit | 4ec486145290efb4059b64e84a2bfd9e157bf787 (patch) | |
tree | e09d48714bca29cdf6135e5a0534375f2512d625 /guides/source/debugging_rails_applications.md | |
parent | 3cc4380f20e87a06c76e70aa84adaef632c66746 (diff) | |
parent | e1e6b18e9543d3806542fe00d5bc0ba8a357872c (diff) | |
download | rails-4ec486145290efb4059b64e84a2bfd9e157bf787.tar.gz rails-4ec486145290efb4059b64e84a2bfd9e157bf787.tar.bz2 rails-4ec486145290efb4059b64e84a2bfd9e157bf787.zip |
Merge pull request #35690 from soartec-lab/update_guide_sending_log_messages
Add `unknown` method to list of methods to write current log [ci skip]
Diffstat (limited to 'guides/source/debugging_rails_applications.md')
-rw-r--r-- | guides/source/debugging_rails_applications.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/debugging_rails_applications.md b/guides/source/debugging_rails_applications.md index 3a383cbd4d..77513c3a84 100644 --- a/guides/source/debugging_rails_applications.md +++ b/guides/source/debugging_rails_applications.md @@ -147,7 +147,7 @@ TIP: The default Rails log level is `debug` in all environments. ### Sending Messages -To write in the current log use the `logger.(debug|info|warn|error|fatal)` method from within a controller, model, or mailer: +To write in the current log use the `logger.(debug|info|warn|error|fatal|unknown)` method from within a controller, model, or mailer: ```ruby logger.debug "Person attributes hash: #{@person.attributes.inspect}" |