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

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

public class LoggerInfo
extends Object
implements 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.
 String[] handlerNames
          Is the list of the handler assigned to the logger
 int level
          is the int value of the current logger level
 String levelName
          is the name of the current logger level
 String[] topics
          contains the topic list of the logger.
 
Constructor Summary
LoggerInfo(TopicalLogger l)
          Build a Loggerinfo from a TopicalLogger.
 
Method Summary
 String[] getHandlerNames()
           
 int getLevel()
           
 String getLevelName()
           
 String[] getTopics()
           
 boolean isAdditivity()
           
 void setAdditivity(boolean additivity)
           
 void setHandlerNames(String[] handlerNames)
           
 void setLevel(int level)
           
 void setLevelName(String levelName)
           
 void setTopics(String[] topics)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

topics

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


level

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


levelName

public String levelName
is the name of the current logger level


handlerNames

public 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 String[] getHandlerNames()

setHandlerNames

public void setHandlerNames(String[] handlerNames)

getLevel

public int getLevel()

setLevel

public void setLevel(int level)

getLevelName

public String getLevelName()

setLevelName

public void setLevelName(String levelName)

getTopics

public String[] getTopics()

setTopics

public void setTopics(String[] topics)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012 OW2 Consortium. All Rights Reserved.