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]
This commit is contained in:
Ryuta Kamizono 2019-03-24 15:29:02 +09:00 committed by GitHub
commit 4ec4861452
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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}"