Class AbstractLogger.LoggerStorage<P extends LogPublisher<C>,​C extends LogPublisherCfg>

    • Constructor Detail

      • LoggerStorage

        public LoggerStorage()
        Defined as public to allow subclasses of AbstractLogger to instantiate it.
    • Method Detail

      • addLogPublisher

        public void addLogPublisher​(P publisher)
        Add a log publisher to the logger.
        Parameters:
        publisher - The log publisher to add.
      • removeLogPublisher

        public boolean removeLogPublisher​(P publisher)
        Remove a log publisher from the logger.
        Parameters:
        publisher - The log publisher to remove.
        Returns:
        True if the log publisher is removed or false otherwise.
      • removeAllLogPublishers

        public void removeAllLogPublishers()
        Removes all existing log publishers from the logger.
      • getLogPublishers

        public Collection<P> getLogPublishers()
        Returns the logPublishers.
        Returns:
        the collection of LogPublishers