mirror of https://github.com/rails/rails
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:
commit
4ec4861452
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue