public static function setup(LoggerInterface $logger, int $verbosity = 1): void
    {
        self::$logger = $logger;
        self::setVerbosity($verbosity);
    }
public static function setup(LoggerInterface $logger, int $verbosity = 1): void
    {
        self::$logger = $logger;
        self::setVerbosity($verbosity);
    }
public static function setup ( LoggerInterface $ logger , int $ verbosity = 1 ) : void { self :: $ logger = $ logger ; self :: setVerbosity ( $ verbosity ) ; }
Sets up the logger

Works like a constructor, but it's not. This is an all static class.

@param LoggerInterface $logger    Psr3 compatible logger object
@param int             $verbosity 0: silent, 1: warning, 2: info

@return void
Sets up the logger