<?php

namespace TijsVerkoyen\Bpost;


use Psr\Log\LoggerInterface;

class Logger
{
    /** @var  LoggerInterface */
    private $logger;

    public function setLogger(LoggerInterface $logger)
    {
        $this->logger = $logger;
    }

    public function debug($message, array $context = array())
    {
        if ($this->logger) {
            $this->logger->debug($message, $context);
        }
    }

}

Add logger, using psr/log interface
refactor: Add logger, using psr/log interface
