サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
Switch 2
mikenaberezny.com
Posted by Mike Naberezny in Ruby In this article, we’ll take a look at how to use the logging facilities built into Rails and then share a few tips: Accessing the Rails Logger Log Levels Filtering Sensitive Parameters Creating Audit Logs ActiveRecord Logging to the Console ActionController Logging to the Console Firebug Console Accessing the Rails Logger Rails automatically sets up logging to a fi
Posted by Mike Naberezny in PHP,Testing One of the problems that hampers the testability of PHP code is the coupling created by accessing all of the PHP global functions. This happens often because a large number of useful extensions are accessed only through global functions. Consider the following code snippet: $res = ldap_connect($host, $port); if (! $res) { // error logging return false; } The
このページを最初にブックマークしてみませんか?
『mikenaberezny.com』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く