/** * @brief 设置当前app * @return public static function **/ public static function setLogger($app) { if (!is_string($app)) { return false; } self::$strCurrentApp = $app; return true; }