public interface

DiagnosticsLogger

com.microstrategy.web.objects.admin.serverconfig.DiagnosticsLogger

Class Overview

This interface represents a diagnostics logger. A diagnostics logger uses dispatchers to log messages to multiple log destinations.

Summary

Public Methods
abstract Enumeration elements()
Returns an enumeration of DiagnosticsDispatcher objects for this logger.
abstract DiagnosticsDispatcher get(int index)
Returns the dispatcher at a given index.
abstract DiagnosticsDispatcher getItemByName(String name)
Returns the dispatcher for this logger that has the name passed.
abstract String getName()
Returns the name of this logger.
abstract boolean isEmpty()
Conveys if this logger is empty.
abstract int size()
Returns the number of dispatchers for this logger.

Public Methods

public abstract Enumeration elements ()

Returns an enumeration of DiagnosticsDispatcher objects for this logger.

Returns
  • Enumeration enumeration of dispatchers.

public abstract 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.

public abstract DiagnosticsDispatcher getItemByName (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.

public abstract String getName ()

Returns the name of this logger.

Returns
  • String The name of this logger.

public abstract boolean isEmpty ()

Conveys if this logger is empty.

Returns
  • boolean True, if the logger has no dispatchers.

public abstract int size ()

Returns the number of dispatchers for this logger.

Returns
  • int the number of dispatchers.