初始化项目:添加后端代码、ThinkPHP框架、前端资源
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
<?php
|
||||
|
||||
namespace addons\epay\library\Yansongda\Pay;
|
||||
|
||||
use addons\epay\library\Yansongda\Supports\Log as BaseLog;
|
||||
|
||||
/**
|
||||
* @method static void emergency($message, array $context = array())
|
||||
* @method static void alert($message, array $context = array())
|
||||
* @method static void critical($message, array $context = array())
|
||||
* @method static void error($message, array $context = array())
|
||||
* @method static void warning($message, array $context = array())
|
||||
* @method static void notice($message, array $context = array())
|
||||
* @method static void info($message, array $context = array())
|
||||
* @method static void debug($message, array $context = array())
|
||||
* @method static void log($message, array $context = array())
|
||||
*/
|
||||
class Log
|
||||
{
|
||||
/**
|
||||
* Forward call.
|
||||
*
|
||||
* @author yansongda <me@yansongda.cn>
|
||||
*
|
||||
* @param string $method
|
||||
* @param array $args
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public static function __callStatic($method, $args)
|
||||
{
|
||||
return forward_static_call_array([BaseLog::class, $method], $args);
|
||||
}
|
||||
|
||||
/**
|
||||
* Forward call.
|
||||
*
|
||||
* @author yansongda <me@yansongda.cn>
|
||||
*
|
||||
* @param string $method
|
||||
* @param array $args
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function __call($method, $args)
|
||||
{
|
||||
return call_user_func_array([BaseLog::class, $method], $args);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user