php 写入日志函数

public static function log($var, $file = ''){ $file = LOG_PATH . 'static' . '/' . 'log' . '/' . ($file ? $file . '_' : $file) . date('Ymd') . '.log'; $str = self::encodeObject(
相关文章
相关标签/搜索