Current Rails version (3) doesn't have RAILS_DEFAULT_LOGGER anymore. log snippet for Rails 3.x, log2 snippet for Rails 2.x
This commit is contained in:
parent
54116c9c86
commit
15ab315ff9
@ -673,6 +673,8 @@ snippet i18
|
|||||||
snippet ist
|
snippet ist
|
||||||
<%= image_submit_tag("${1:agree.png}", :id => "${2:id}"${3} %>
|
<%= image_submit_tag("${1:agree.png}", :id => "${2:id}"${3} %>
|
||||||
snippet log
|
snippet log
|
||||||
|
Rails.logger.${1:debug} ${2}
|
||||||
|
snippet log2
|
||||||
RAILS_DEFAULT_LOGGER.${1:debug} ${2}
|
RAILS_DEFAULT_LOGGER.${1:debug} ${2}
|
||||||
snippet logd
|
snippet logd
|
||||||
logger.debug { "${1:message}" }${2}
|
logger.debug { "${1:message}" }${2}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user