Add `unknown` method to list of methods to write current log [ci skip]
This commit is contained in:
parent
382a9563a3
commit
e1e6b18e95
|
@ -147,7 +147,7 @@ TIP: The default Rails log level is `debug` in all environments.
|
||||||
|
|
||||||
### Sending Messages
|
### 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
|
```ruby
|
||||||
logger.debug "Person attributes hash: #{@person.attributes.inspect}"
|
logger.debug "Person attributes hash: #{@person.attributes.inspect}"
|
||||||
|
|
Loading…
Reference in New Issue