Class EditableLogger
- java.lang.Object
-
- com.microstrategy.utils.log.editor.AbstractEditableLoggingComponent
-
- com.microstrategy.utils.log.editor.EditableLogger
-
- All Implemented Interfaces:
java.lang.Comparable
public class EditableLogger extends AbstractEditableLoggingComponent implements java.lang.Comparable
- Since:
- MicroStrategy Web 8.0.2
-
-
Constructor Summary
Constructors Constructor Description EditableLogger(LoggingManagementBean manager, java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EditableHandler
addHandler(java.lang.String className, java.lang.String alias)
java.lang.String
clearErrorMessage()
int
compareTo(java.lang.Object o)
java.lang.String
createHandlerAlias()
boolean
equals(java.lang.Object o)
ErrorMessageHandler
getErrorMessageHandler()
EditableFilter
getFilter()
EditableHandler
getHandler(java.lang.String alias)
EditableHandler[]
getHandlers()
java.lang.String
getLevel()
java.lang.String
getName()
java.lang.String
getQualifiedName()
int
hashCode()
void
remove()
void
removeHandler(java.lang.String alias)
void
setLevel(java.lang.String level)
-
Methods inherited from class com.microstrategy.utils.log.editor.AbstractEditableLoggingComponent
containsKey, createStartingProperties, getAllProperties, getLocalProperties, getManager, getProperty, keys, qualifyKey, removeProperty, setProperty
-
-
-
-
Constructor Detail
-
EditableLogger
public EditableLogger(LoggingManagementBean manager, java.lang.String name)
- Since:
- MicroStrategy Web 8.1.1
-
-
Method Detail
-
getName
public java.lang.String getName()
-
getLevel
public java.lang.String getLevel()
-
setLevel
public void setLevel(java.lang.String level) throws java.io.IOException
- Throws:
java.io.IOException
-
getHandlers
public EditableHandler[] getHandlers() throws java.io.IOException
- Throws:
java.io.IOException
-
getQualifiedName
public java.lang.String getQualifiedName()
- Specified by:
getQualifiedName
in classAbstractEditableLoggingComponent
-
removeHandler
public void removeHandler(java.lang.String alias) throws java.io.IOException
- Throws:
java.io.IOException
-
remove
public void remove() throws java.io.IOException
- Throws:
java.io.IOException
-
addHandler
public EditableHandler addHandler(java.lang.String className, java.lang.String alias) throws java.io.IOException, java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
-
getHandler
public EditableHandler getHandler(java.lang.String alias) throws java.io.IOException
- Throws:
java.io.IOException
-
createHandlerAlias
public java.lang.String createHandlerAlias() throws java.io.IOException
- Throws:
java.io.IOException
-
clearErrorMessage
public java.lang.String clearErrorMessage()
-
getErrorMessageHandler
public ErrorMessageHandler getErrorMessageHandler()
-
getFilter
public EditableFilter getFilter() throws java.io.IOException
- Throws:
java.io.IOException
- Since:
- MicroStrategy Web 8.1.1
-
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareTo
in interfacejava.lang.Comparable
- Since:
- MicroStrategy Web 8.1.2
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
- Since:
- MicroStrategy Web 9.0.1
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
- Since:
- MicroStrategy Web 9.0.1
-
-