本文整理汇总了Java中org.gradle.api.logging.Logging.getLogger方法的典型用法代码示例。如果您正苦于以下问题:Java Logging.getLogger方法的具体用法?Java Logging.getLogger怎么用?Java Logging.getLogger使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.gradle.api.logging.Logging
的用法示例。
在下文中一共展示了Logging.getLogger方法的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: AtlasExtension
import org.gradle.api.logging.Logging; //导入方法依赖的package包/类
public AtlasExtension(@NonNull final ProjectInternal project,
@NonNull Instantiator instantiator,
@NonNull NamedDomainObjectContainer<T> buildTypes,
@NonNull NamedDomainObjectContainer<PatchConfig> patchConfigs,
@NonNull NamedDomainObjectContainer<DexConfig>dexConfigs) {
logger = Logging.getLogger(this.getClass());
this.project = project;
this.patchConfigs = patchConfigs;
this.dexConfigs = dexConfigs;
this.buildTypes = buildTypes;
this.multiDexConfigs = project.container(MultiDexConfig.class, new MultiDexConfigFactory(
instantiator,project, project.getLogger()));
tBuildConfig = (Z) instantiator.newInstance(TBuildConfig.class);
manifestOptions = instantiator.newInstance(ManifestOptions.class);
bundleConfig = instantiator.newInstance(BundleConfig.class);
}
示例2: TaskManager
import org.gradle.api.logging.Logging; //导入方法依赖的package包/类
public TaskManager(
Project project,
AndroidBuilder androidBuilder,
AndroidConfig extension,
SdkHandler sdkHandler,
DependencyManager dependencyManager,
ToolingModelBuilderRegistry toolingRegistry) {
this.project = project;
this.androidBuilder = androidBuilder;
this.sdkHandler = sdkHandler;
this.extension = extension;
this.toolingRegistry = toolingRegistry;
this.dependencyManager = dependencyManager;
logger = Logging.getLogger(this.getClass());
globalScope = new GlobalScope(
project,
androidBuilder,
(String) project.getProperties().get("archivesBaseName"),
extension,
sdkHandler,
toolingRegistry);
}
示例3: AbstractGradleExecuter
import org.gradle.api.logging.Logging; //导入方法依赖的package包/类
protected AbstractGradleExecuter(GradleDistribution distribution, TestDirectoryProvider testDirectoryProvider, GradleVersion gradleVersion, IntegrationTestBuildContext buildContext) {
this.distribution = distribution;
this.testDirectoryProvider = testDirectoryProvider;
this.gradleVersion = gradleVersion;
logger = Logging.getLogger(getClass());
this.buildContext = buildContext;
gradleUserHomeDir = buildContext.getGradleUserHomeDir();
daemonBaseDir = buildContext.getDaemonBaseDir();
}
示例4: AtlasBaseTaskManager
import org.gradle.api.logging.Logging; //导入方法依赖的package包/类
public AtlasBaseTaskManager(AtlasBuilder androidBuilder, T androidExtension, Project project,
AtlasExtension atlasExtension) {
this.tAndroidBuilder = androidBuilder;
this.androidExtension = androidExtension;
this.project = project;
this.tasks = new TaskContainerAdaptor(project.getTasks());
this.atlasExtension = atlasExtension;
this.extraModelInfo = new ExtraModelInfo(project);
this.logger = new LoggerWrapper(Logging.getLogger(AtlasBaseTaskManager.class));
//this.dependencyManager = new DependencyManager(androidExtension, project, atlasExtension);
}
示例5: DependencyManager
import org.gradle.api.logging.Logging; //导入方法依赖的package包/类
public DependencyManager(
@NonNull Project project,
@NonNull ExtraModelInfo extraModelInfo,
@NonNull SdkHandler sdkHandler) {
this.project = project;
this.extraModelInfo = extraModelInfo;
this.sdkHandler = sdkHandler;
logger = new LoggerWrapper(Logging.getLogger(DependencyManager.class));
}
示例6: DefaultBuildOperationLoggerFactory
import org.gradle.api.logging.Logging; //导入方法依赖的package包/类
public DefaultBuildOperationLoggerFactory() {
this(Logging.getLogger(DefaultBuildOperationLoggerFactory.class));
}
示例7: DummyRewriter
import org.gradle.api.logging.Logging; //导入方法依赖的package包/类
public DummyRewriter() {
_log = Logging.getLogger(DummyRewriter.class.getSimpleName());
}
示例8: PerformanceTrackingRewriter
import org.gradle.api.logging.Logging; //导入方法依赖的package包/类
public PerformanceTrackingRewriter() {
_log = Logging.getLogger(PerformanceTrackingRewriter.class.getSimpleName());
}
示例9: AbstractProjectConfigPlugin
import org.gradle.api.logging.Logging; //导入方法依赖的package包/类
/**
* Create a new plugin
*/
public AbstractProjectConfigPlugin() {
this.logger = Logging.getLogger(getClass());
}
示例10: DependencyManager
import org.gradle.api.logging.Logging; //导入方法依赖的package包/类
public DependencyManager(Project project, ExtraModelInfo extraModelInfo) {
this.project = project;
this.extraModelInfo = extraModelInfo;
logger = new LoggerWrapper(Logging.getLogger(DependencyManager.class));
}
示例11: AbstractGradleExecuter
import org.gradle.api.logging.Logging; //导入方法依赖的package包/类
protected AbstractGradleExecuter(GradleDistribution distribution, TestDirectoryProvider testDirectoryProvider) {
this.distribution = distribution;
this.testDirectoryProvider = testDirectoryProvider;
logger = Logging.getLogger(getClass());
}
示例12: WorkspacePlugin
import org.gradle.api.logging.Logging; //导入方法依赖的package包/类
/**
* Create a new workspace plugin
*/
@Inject
public WorkspacePlugin() {
this.logger = Logging.getLogger(getClass());
}