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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Enumeration
elements()
Returns an enumeration ofDiagnosticsDispatcher
objects for this logger.DiagnosticsDispatcher
get(int index)
Returns the dispatcher at a given index.DiagnosticsDispatcher
getItemByName(java.lang.String name)
Returns the dispatcher for this logger that has the name passed.java.lang.String
getName()
Returns the name of this logger.boolean
isEmpty()
Conveys if this logger is empty.int
size()
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 ofDiagnosticsDispatcher
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.
-
-