We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4cbc2a commit ac8e8d7Copy full SHA for ac8e8d7
src/helpers.php
@@ -9,20 +9,17 @@
9
* with this source code in the file LICENSE.
10
*/
11
12
-use Illuminate\Foundation\Bus\PendingDispatch;
13
-use Jiannei\Logger\Laravel\Jobs\LogJob;
14
-
15
-if (! function_exists('logger')) {
+if (! function_exists('logger_async')) {
16
/**
17
* Log a debug message to the logs.
18
*
19
* @param string $message
20
* @param array $context
21
- * @return PendingDispatch|mixed
+ * @return \Illuminate\Foundation\Bus\PendingDispatch|mixed
22
23
function logger_async(string $message, array $context = [])
24
{
25
- return dispatch(new LogJob($message, $context, request()->server()));
+ return dispatch(new \Jiannei\Logger\Laravel\Jobs\LogJob($message, $context, request()->server()));
26
}
27
28
0 commit comments