Interface DiagnosticsLogger


  • public interface DiagnosticsLogger
    This interface represents a diagnostics logger. A diagnostics logger uses dispatchers to log messages to multiple log destinations.
    Since:
    MicroStrategy Web 7.5.2
    • Method Detail

      • getName

        java.lang.String getName()
        Returns the name of this logger.
        Returns:
        String The name of this logger.
      • elements

        java.util.Enumeration elements()
        Returns an enumeration of DiagnosticsDispatcher objects for this logger.
        Returns:
        Enumeration enumeration of dispatchers.
      • get

        DiagnosticsDispatcher get​(int index)
        Returns the dispatcher at a given index.
        Parameters:
        index - the index for the desired dispatcher.
        Returns:
        DiagnosticsDispatcher the dispatcher at the index passed.
      • size

        int size()
        Returns the number of dispatchers for this logger.
        Returns:
        int the number of dispatchers.
      • isEmpty

        boolean isEmpty()
        Conveys if this logger is empty.
        Returns:
        boolean True, if the logger has no dispatchers.
      • getItemByName

        DiagnosticsDispatcher getItemByName​(java.lang.String name)
        Returns the dispatcher for this logger that has the name passed.
        Parameters:
        name - the name for the dispatcher queried.
        Returns:
        DiagnosticsDispatcher the dispatcher with the name passed.