public function offsetExists($offset)
    {
        if ($offset instanceof \Plop\LoggerInterface) {
            $offset = static::getLoggerId($offset);
        }
        if (!is_string($offset)) {
            throw new \Plop\Exception('Invalid identifier');
        }
        return isset($this->loggers[$offset]);
    }
public function offsetExists($offset)
    {
        if ($offset instanceof \Plop\LoggerInterface) {
            $offset = static::getLoggerId($offset);
        }
        if (!is_string($offset)) {
            throw new \Plop\Exception('Invalid identifier');
        }
        return isset($this->loggers[$offset]);
    }
public function offsetExists ( $ offset ) { if ( $ offset instanceof \ Plop \ LoggerInterface ) { $ offset = static :: getLoggerId ( $ offset ) ; } if ( ! is_string ( $ offset ) ) { throw new \ Plop \ Exception ( 'Invalid identifier' ) ; } return isset ( $ this -> loggers [ $ offset ] ) ; }
Return a flag indicating whether a logger with
the given identifier was registered with Plop.

\param string|Plop::LoggerInterface $offset
A logger identifier. You may also pass a logger,
in which case, that logger's identifier will be
used for the test.

\retval bool
A flag indicating whether a logger was registered
with that identifier (\a true) or not (\a false).

\warning
When a logger is passed to this method, it will
only look for a registered logger with the same
identifier. It will not check whether both loggers
are actually the same.
Return a flag indicating whether a logger with the given identifier was registered with Plop .