Package org.ametys.plugins.core.ui.log
Class ServerLogMessageTargetFactoryElement
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.core.ui.StaticFileImportsClientSideElement
-
- org.ametys.core.ui.StaticClientSideElement
-
- org.ametys.plugins.core.ui.log.ServerLogMessageTargetFactoryElement
-
- All Implemented Interfaces:
ClientSideElement
,LogEnabled
,PluginAware
,Configurable
,Serviceable
public class ServerLogMessageTargetFactoryElement extends StaticClientSideElement
A static client side element for the ServerLogMessageTargetFactory, giving some callables
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ametys.core.ui.ClientSideElement
ClientSideElement.Script, ClientSideElement.ScriptFile
-
-
Field Summary
-
Fields inherited from class org.ametys.core.ui.StaticFileImportsClientSideElement
_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script
-
-
Constructor Summary
Constructors Constructor Description ServerLogMessageTargetFactoryElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Map<String,String>>
getLevels(List<String> categories)
Get the log levels associated with the given log categories-
Methods inherited from class org.ametys.core.ui.StaticClientSideElement
_configureClass, _configureParameters, _configureScript, configureInitialParameters
-
Methods inherited from class org.ametys.core.ui.StaticFileImportsClientSideElement
_configureDependencies, _configureImports, _configureRights, _configureRightsMode, configure, getDependencies, getId, getPluginName, getRights, getScripts, getScripts, hasRight, service, setPluginInfo, toString
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
-
-
-
Constructor Detail
-
ServerLogMessageTargetFactoryElement
public ServerLogMessageTargetFactoryElement()
-
-
Method Detail
-
getLevels
public Map<String,Map<String,String>> getLevels(List<String> categories)
Get the log levels associated with the given log categories- Parameters:
categories
- The log categories to check- Returns:
- A map with 2 keys : levels and effectiveLevels. Each one is associating each log category given to its level ('DEBUG'... 'INHERIT'...)
-
-