Interface DiagnosticsLogger
-
public interface DiagnosticsLoggerThis interface represents a diagnostics logger. A diagnostics logger uses dispatchers to log messages to multiple log destinations.- Since:
- MicroStrategy Web 7.5.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Enumerationelements()Returns an enumeration ofDiagnosticsDispatcherobjects for this logger.DiagnosticsDispatcherget(int index)Returns the dispatcher at a given index.DiagnosticsDispatchergetItemByName(java.lang.String name)Returns the dispatcher for this logger that has the name passed.java.lang.StringgetName()Returns the name of this logger.booleanisEmpty()Conveys if this logger is empty.intsize()Returns the number of dispatchers for this logger.
-
-
-
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 ofDiagnosticsDispatcherobjects 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.
-
-