src/Leevel/Log/File.php
public function flush(array $datas): void
    {
        $level = $datas[0][0];

        $this->checkSize($filepath = $this->normalizePath($level));

        foreach ($datas as $value) {
            error_log(self::formatMessage(...$value), 3, $filepath);
        }
    }
public function flush(array $datas): void
    {
        $level = $datas[0][0];

        $this->checkSize($filepath = $this->normalizePath($level));

        foreach ($datas as $value) {
            error_log(self::formatMessage(...$value), 3, $filepath);
        }
    }
日志写入接口.

@param array $datas