modify
This commit is contained in:
@@ -172,8 +172,8 @@ class Logger extends Component
|
|||||||
*/
|
*/
|
||||||
public function write(string $messages, string $method = 'app')
|
public function write(string $messages, string $method = 'app')
|
||||||
{
|
{
|
||||||
if (empty($messages)) {
|
|
||||||
return;
|
return;
|
||||||
|
if (empty($messages)) {
|
||||||
}
|
}
|
||||||
|
|
||||||
$dirName = 'log/' . ($method ?? 'app');
|
$dirName = 'log/' . ($method ?? 'app');
|
||||||
|
|||||||
Reference in New Issue
Block a user