diff options
author | soartec-lab <info@soartec-lab.work> | 2019-03-21 23:49:53 +0900 |
---|---|---|
committer | soartec-lab <info@soartec-lab.work> | 2019-03-21 23:49:53 +0900 |
commit | e1e6b18e9543d3806542fe00d5bc0ba8a357872c (patch) | |
tree | 6af99704c4b7a23dadfdce8112d63274a481c0cf /guides/source/debugging_rails_applications.md | |
parent | 382a9563a3bc3dd1982f4db1258e8f0e7f5fac8e (diff) | |
download | rails-e1e6b18e9543d3806542fe00d5bc0ba8a357872c.tar.gz rails-e1e6b18e9543d3806542fe00d5bc0ba8a357872c.tar.bz2 rails-e1e6b18e9543d3806542fe00d5bc0ba8a357872c.zip |
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}" |