This commit is contained in:
2021-07-12 18:15:58 +08:00
parent 98a39dff91
commit 16b300b139
4 changed files with 32 additions and 113 deletions
+1 -1
View File
@@ -269,7 +269,7 @@ if (!function_exists('write')) {
* @param string $category
* @throws Exception
*/
function write(string $messages, $category = 'app')
function write(string $messages, string $category = 'app')
{
$logger = Snowflake::app()->getLogger();
$logger->write($messages, $category);