How does laravel get the error level in the configureMonologUsing method

the version number of laravel is 5.5

I try to put different error level files in one directory according to the number of days

$app->configureMonologUsing(function ($monolog) {
    // dd($monolog);
    $file = storage_path("logs" . DIRECTORY_SEPARATOR . Date("Y-m-d", time()) . DIRECTORY_SEPARATOR . $level . ".log");
    $monolog->pushHandler(new StreamHandler($file));
});

here, this $level is the error level. Can this level be obtained from the $monolog instance? I"ve seen that there is only the default debug , the default lowest level

.

ask God for help. Thank you very much

Mar.29,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bf13bb-31d67.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bf13bb-31d67.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?