Commit 34339fdb authored by 王源's avatar 王源 🎧

fix bug

parent 6977e704
......@@ -92,7 +92,7 @@ class Log
if (is_array($msg)) {
$msg = var_export($msg, true);
}
$channel = $arguments[1];
$channel = $arguments[1] ?? 'app';
return static::log($channel)->{$name}($msg);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment