public static function getInstance(array $arguments)
    {
        if (in_array('-nc', $arguments) || in_array('--no-color', $arguments)) {
            return new VerboseLogger(static::getLogLevel($arguments));
        }

        return new ColoredVerboseLogger(static::getLogLevel($arguments));
    }
public static function getInstance(array $arguments)
    {
        if (in_array('-nc', $arguments) || in_array('--no-color', $arguments)) {
            return new VerboseLogger(static::getLogLevel($arguments));
        }

        return new ColoredVerboseLogger(static::getLogLevel($arguments));
    }
public static function getInstance ( array $ arguments ) { if ( in_array ( '-nc' , $ arguments ) || in_array ( '--no-color' , $ arguments ) ) { return new VerboseLogger ( static :: getLogLevel ( $ arguments ) ) ; } return new ColoredVerboseLogger ( static :: getLogLevel ( $ arguments ) ) ; }
Returns the configured instance of the verbose logger based on the arguments.

@param array $arguments   The cli arguments.

@return ColoredVerboseLogger|VerboseLogger
Returns the configured instance of the verbose logger based on the arguments .