aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2019-03-24 15:29:02 +0900
committerGitHub <noreply@github.com>2019-03-24 15:29:02 +0900
commit4ec486145290efb4059b64e84a2bfd9e157bf787 (patch)
treee09d48714bca29cdf6135e5a0534375f2512d625
parent3cc4380f20e87a06c76e70aa84adaef632c66746 (diff)
parente1e6b18e9543d3806542fe00d5bc0ba8a357872c (diff)
downloadrails-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]
-rw-r--r--guides/source/debugging_rails_applications.md2
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}"