<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of GrowthLog
 *
 * @author Administrator
 */
class GrowthLog {
    //put your code here
    public static function log($msg,$content) {
        $msg = '['.  date("Y-m-d H:i:s").']'.' [message]'.$msg.' [data]'.  serialize($content)."\r\n";
        //$msg = '['.  date("Y-m-d H:i:s").']'.' '.iconv('GBK','UTF-8',urldecode($content))."\r\n";
        $filename = CORE_ROOT.'log/growth_bid_'.date("Y-m-d").'.log';
        @file_put_contents($filename, $msg,FILE_APPEND);
    }
}

?>
