Skip to content

Commit

Permalink
完善参数类型
Browse files Browse the repository at this point in the history
  • Loading branch information
big-dream authored and liu21st committed Jul 18, 2024
1 parent 93a7a8d commit afd7222
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/think/facade/Log.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,16 @@
* @method static \think\Log record(mixed $msg, string $type = 'info', array $context = [], bool $lazy = true) 记录日志信息
* @method static \think\Log write(mixed $msg, string $type = 'info', array $context = []) 实时写入日志信息
* @method static Event listen($listener) 注册日志写入事件监听
* @method static void log(string $level, mixed $message, array $context = []) 记录日志信息
* @method static void emergency(mixed $message, array $context = []) 记录emergency信息
* @method static void alert(mixed $message, array $context = []) 记录警报信息
* @method static void critical(mixed $message, array $context = []) 记录紧急情况
* @method static void error(mixed $message, array $context = []) 记录错误信息
* @method static void warning(mixed $message, array $context = []) 记录warning信息
* @method static void notice(mixed $message, array $context = []) 记录notice信息
* @method static void info(mixed $message, array $context = []) 记录一般信息
* @method static void debug(mixed $message, array $context = []) 记录调试信息
* @method static void sql(mixed $message, array $context = []) 记录sql信息
* @method static void log(string $level, string|\Stringable $message, array $context = []) 记录日志信息
* @method static void emergency(string|\Stringable $message, array $context = []) 记录emergency信息
* @method static void alert(string|\Stringable $message, array $context = []) 记录警报信息
* @method static void critical(string|\Stringable $message, array $context = []) 记录紧急情况
* @method static void error(string|\Stringable $message, array $context = []) 记录错误信息
* @method static void warning(string|\Stringable $message, array $context = []) 记录warning信息
* @method static void notice(string|\Stringable $message, array $context = []) 记录notice信息
* @method static void info(string|\Stringable $message, array $context = []) 记录一般信息
* @method static void debug(string|\Stringable $message, array $context = []) 记录调试信息
* @method static void sql(string|\Stringable $message, array $context = []) 记录sql信息
* @method static mixed __call($method, $parameters)
*/
class Log extends Facade
Expand Down

0 comments on commit afd7222

Please sign in to comment.