<?php

namespace Velis\Log;

use Psr\Log\AbstractLogger;
use Psr\Log\LoggerInterface as PsrLoggerInterface;

class Logger extends AbstractLogger implements LoggerInterface
{
    public function __construct(private readonly PsrLoggerInterface $wrapped)
    {
    }

    public function log($level, $message, array $context = []): void
    {
        $this->wrapped->log($level, $message, $context);
    }
}
