src/Leevel/Log/Connect.php
public function flush(array $data): void
    {
        foreach ($data as $value) {
            $method = $this->normalizeLevel(array_shift($value));

            $this->monolog->{$method}(...$value);
        }
    }
public function flush(array $data): void
    {
        foreach ($data as $value) {
            $method = $this->normalizeLevel(array_shift($value));

            $this->monolog->{$method}(...$value);
        }
    }
日志写入接口.

@param array $data