/** * @brief 获取日志打印的根目录 * @return public static function **/ public static function getLogPath() { if (self::$strLogPath == null) { self::$strLogPath = DLogConfig::$log_path; } return self::$strLogPath; }