Interface DiagnosticsDispatcher
-
public interface DiagnosticsDispatcher
This interface represents a diagnostics dispatcher. A dispatcher is used by aDiagnosticsLogger
to dispatch logging messages. The dispatcher can dispatch each logging message to multiple log destinations.- Since:
- MicroStrategy Web 7.5.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SimpleList
getDestinations()
Returns a Simple List ofLogDestination
objects for this dispatcher.java.lang.String
getName()
Returns the name of this dispatcher.
-
-
-
Method Detail
-
getDestinations
SimpleList getDestinations() throws ServerConfigException
Returns a Simple List ofLogDestination
objects for this dispatcher. New log destination objects can be added to this list (or removed). Note that any changes done (e.g. adding/removing/clearing log destination objects to the list} should be saved usingDiagnosticsConfiguration.save(boolean)
methods.- Returns:
- SimpleList list of log destinations.
- Throws:
ServerConfigException
- if an error was encountered while querying the log destinations.
-
getName
java.lang.String getName()
Returns the name of this dispatcher.- Returns:
- String The name of this dispatcher.
-
-