{"categories":["PHP","Zend Framework"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgene.hatenablog.com%2Fentry%2F20080403%2F1207236265\" title=\" print_r \u3092\u4f7f\u3063\u3066\u30ed\u30b0\u51fa\u529b - Memo\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","width":"100%","author_url":"https://blog.hatena.ne.jp/heavenshell/","blog_url":"https://gene.hatenablog.com/","description":"Zend_Log \u3092\u4f7f\u7528\u3057\u3066\u3001\u914d\u5217\u306e\u60c5\u5831\u3092\u51fa\u529b\u3057\u305f\u304b\u3063\u305f\u3002\u4f8b\u3048\u3070\u3001$error \u306b\u306f array('hoge' => '\u307b\u3052', 'fuga' => '\u3075\u304c'); \u3068\u5165\u3063\u3066\u308b\u3068\u3059\u308b\u3068\u3001 <?php require_once 'Zend/Log.php'; require_once 'Zend/Log/Writer/Stream.php'; $writer = new Zend_Log_Writer_Stream('path/to/log'); $logger = new Zend_Log($writer); $logger->log($error, Zend_Log::ERR); \u7d50\u679c 200\u2026","provider_name":"Hatena Blog","url":"https://gene.hatenablog.com/entry/20080403/1207236265","blog_title":"Memo","provider_url":"https://hatena.blog","image_url":null,"type":"rich","published":"2008-04-03 00:24:25","author_name":"heavenshell","height":"190","title":" print_r \u3092\u4f7f\u3063\u3066\u30ed\u30b0\u51fa\u529b"}