|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.sasl.aop.logging.LogConfigBean
public class LogConfigBean
Log configuration which could be used to pass configurations to an instance
of the GenericLogAspect
class from a spring bean configuration file.
| Constructor Summary | |
|---|---|
LogConfigBean()
|
|
| Method Summary | |
|---|---|
String |
getConcatedLogText()
Concats all log strings setted via setLogTextList(List) and
returns it. |
Set<TargetMethodExecutionPhase> |
getExecutionPhaseSet()
|
Map<String,LogLevel> |
getLoggerConfigMap()
|
Map<org.slf4j.Logger,LogLevel> |
getLoggerLogLevelMap()
Same as calling getLoggerConfigMap() with the difference that
all string keys have been transformed to logger objects. |
List<String> |
getLogTextList()
|
boolean |
isOneLogLinePerLogTextLine()
|
void |
setExecutionPhaseSet(Set<TargetMethodExecutionPhase> executionPhaseSet)
Sets a set of execution phases of the target method to which the configuration should belong. |
void |
setLoggerConfigMap(Map<String,LogLevel> loggerConfigMap)
Sets a map of (loggerName, logLevel) pairs. |
void |
setLogTextList(List<String> logTextList)
Sets a list of log strings that should get logged. |
void |
setOneLogLinePerLogTextLine(boolean oneLogLinePerLogTextLine)
Sets whether each line of the log text should be logged in a separate log line or not. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LogConfigBean()
| Method Detail |
|---|
public boolean isOneLogLinePerLogTextLine()
setOneLogLinePerLogTextLine(boolean)public void setOneLogLinePerLogTextLine(boolean oneLogLinePerLogTextLine)
oneLogLinePerLogTextLine - true or false.public List<String> getLogTextList()
setLogTextList(List)
public void setLogTextList(List<String> logTextList)
throws IllegalArgumentException
logTextList - non null.
IllegalArgumentException - if logTextList is null.public String getConcatedLogText()
setLogTextList(List) and
returns it.
public Map<String,LogLevel> getLoggerConfigMap()
setLoggerConfigMap(Map)
public void setLoggerConfigMap(Map<String,LogLevel> loggerConfigMap)
throws IllegalArgumentException
loggerConfigMap - non null.
IllegalArgumentException - if loggerConfigMap is null.public Map<org.slf4j.Logger,LogLevel> getLoggerLogLevelMap()
getLoggerConfigMap() with the difference that
all string keys have been transformed to logger objects.
public Set<TargetMethodExecutionPhase> getExecutionPhaseSet()
setExecutionPhaseSet(Set)
public void setExecutionPhaseSet(Set<TargetMethodExecutionPhase> executionPhaseSet)
throws IllegalArgumentException
executionPhaseSet - non null
IllegalArgumentException - if executionPhaseSet is null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||