Class GetLogsLevel
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.acting.AbstractAction
org.apache.cocoon.acting.ServiceableAction
org.ametys.runtime.plugins.admin.logs.GetLogsLevel
- All Implemented Interfaces:
Component,LogEnabled,Serviceable,Action
Get the log levels'
-
Field Summary
Fields inherited from class org.apache.cocoon.acting.ServiceableAction
managerFields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionact(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) voidcreateCategory(List<Map<String, Object>> children, String categoryName, String level, String fullName) Creates a log categoryMethods inherited from class org.apache.cocoon.acting.ServiceableAction
serviceMethods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Constructor Details
-
GetLogsLevel
public GetLogsLevel()
-
-
Method Details
-
act
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception - Throws:
Exception
-
createCategory
public void createCategory(List<Map<String, Object>> children, String categoryName, String level, String fullName) Creates a log category- Parameters:
children- the list of categories already createdcategoryName- the name of the category to createlevel- the level of the category to createfullName- the full name of the category
-