public class LogConfigurationTask extends Task
Parameters:
| Name | Description |
| logger | One or more logger names to be configured with the specified log level. |
| level | An optional Level to configure. If not provided, the log level will be set to null. |
| Constructor and Description |
|---|
LogConfigurationTask()
Creates a new LogConfigurationTask.
|
LogConfigurationTask(ch.qos.logback.classic.LoggerContext loggerContext)
Creates a new LogConfigurationTask with the given
LoggerContext instance. |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(com.google.common.collect.ImmutableMultimap<String,String> parameters,
PrintWriter output)
Executes the task.
|
public LogConfigurationTask()
public LogConfigurationTask(ch.qos.logback.classic.LoggerContext loggerContext)
LoggerContext instance.
Use LogConfigurationTask() instead.loggerContext - a LoggerContext instancepublic void execute(com.google.common.collect.ImmutableMultimap<String,String> parameters, PrintWriter output) throws Exception
Taskexecute in class Taskparameters - the query string parametersoutput - a PrintWriter wrapping the output stream of the taskException - if something goes wrongCopyright © 2016. All rights reserved.