org.objectweb.util.monolog.wrapper.remote.api
Class LoggerInfo

java.lang.Object
  extended byorg.objectweb.util.monolog.wrapper.remote.api.LoggerInfo
All Implemented Interfaces:
java.io.Serializable

public class LoggerInfo
extends java.lang.Object
implements java.io.Serializable

Defines an holder of information about a logger.

Author:
S.Chassande-Barrioz
See Also:
Serialized Form

Field Summary
 boolean additivity
          Indicates if the logger inherits handlers from its parent.
 java.lang.String[] handlerNames
          Is the list of the handler assigned to the logger
 int level
          is the int value of the current logger level
 java.lang.String levelName
          is the name of the current logger level
 java.lang.String[] topics
          contains the topic list of the logger.
 
Constructor Summary
LoggerInfo(TopicalLogger l)
          Build a Loggerinfo from a TopicalLogger.
 
Method Summary
 java.lang.String[] getHandlerNames()
           
 int getLevel()
           
 java.lang.String getLevelName()
           
 java.lang.String[] getTopics()
           
 boolean isAdditivity()
           
 void setAdditivity(boolean additivity)
           
 void setHandlerNames(java.lang.String[] handlerNames)
           
 void setLevel(int level)
           
 void setLevelName(java.lang.String levelName)
           
 void setTopics(java.lang.String[] topics)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

topics

public java.lang.String[] topics
contains the topic list of the logger.


level

public int level
is the int value of the current logger level


levelName

public java.lang.String levelName
is the name of the current logger level


handlerNames

public java.lang.String[] handlerNames
Is the list of the handler assigned to the logger


additivity

public boolean additivity
Indicates if the logger inherits handlers from its parent.

Constructor Detail

LoggerInfo

public LoggerInfo(TopicalLogger l)
Build a Loggerinfo from a TopicalLogger.

Parameters:
l - is the TopicalLogger
Method Detail

isAdditivity

public boolean isAdditivity()

setAdditivity

public void setAdditivity(boolean additivity)

getHandlerNames

public java.lang.String[] getHandlerNames()

setHandlerNames

public void setHandlerNames(java.lang.String[] handlerNames)

getLevel

public int getLevel()

setLevel

public void setLevel(int level)

getLevelName

public java.lang.String getLevelName()

setLevelName

public void setLevelName(java.lang.String levelName)

getTopics

public java.lang.String[] getTopics()

setTopics

public void setTopics(java.lang.String[] topics)

toString

public java.lang.String toString()