Package | Description |
---|---|
org.apache.twill.api |
Classes in this package provides core functionality of the Twill library.
|
org.apache.twill.api.logging |
This package contains class for handling logging events.
|
Modifier and Type | Method and Description |
---|---|
LogEntry.Level |
TwillRunResources.getLogLevel()
Deprecated.
Use
TwillRunResources.getLogLevels() to get the log levels map and get root level from the map instead. |
Modifier and Type | Method and Description |
---|---|
Map<String,LogEntry.Level> |
TwillRunResources.getLogLevels() |
Future<Map<String,LogEntry.Level>> |
TwillController.updateLogLevels(Map<String,LogEntry.Level> logLevels)
Update the log levels for requested logger names for Twill applications running in a container.
|
Future<Map<String,LogEntry.Level>> |
TwillController.updateLogLevels(String runnableName,
Map<String,LogEntry.Level> logLevelsForRunnable)
Update the log levels for requested logger names for a
TwillRunnable . |
Modifier and Type | Method and Description |
---|---|
TwillPreparer |
TwillPreparer.setLogLevel(LogEntry.Level logLevel)
Deprecated.
Use
TwillPreparer.setLogLevels(Map) with key Logger.ROOT_LOGGER_NAME instead. |
Modifier and Type | Method and Description |
---|---|
TwillPreparer |
TwillPreparer.setLogLevels(Map<String,LogEntry.Level> logLevels)
Set the log levels for requested logger names for Twill applications running in a container.
|
TwillPreparer |
TwillPreparer.setLogLevels(String runnableName,
Map<String,LogEntry.Level> logLevelsForRunnable)
Set the log levels for requested logger names for a
TwillRunnable . |
Future<Map<String,LogEntry.Level>> |
TwillController.updateLogLevels(Map<String,LogEntry.Level> logLevels)
Update the log levels for requested logger names for Twill applications running in a container.
|
Future<Map<String,LogEntry.Level>> |
TwillController.updateLogLevels(String runnableName,
Map<String,LogEntry.Level> logLevelsForRunnable)
Update the log levels for requested logger names for a
TwillRunnable . |
Modifier and Type | Method and Description |
---|---|
LogEntry.Level |
LogEntry.getLogLevel()
Returns the log
LogEntry.Level of the log. |
static LogEntry.Level |
LogEntry.Level.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogEntry.Level[] |
LogEntry.Level.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2013-2016 The Apache Software Foundation. All rights reserved.