当前位置: 首页>>代码示例>>Java>>正文


Java Logging.getLogger方法代码示例

本文整理汇总了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);
}
 
开发者ID:alibaba,项目名称:atlas,代码行数:20,代码来源:AtlasExtension.java

示例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);
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:24,代码来源:TaskManager.java

示例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();
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:10,代码来源:AbstractGradleExecuter.java

示例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);
}
 
开发者ID:alibaba,项目名称:atlas,代码行数:13,代码来源:AtlasBaseTaskManager.java

示例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));
}
 
开发者ID:alibaba,项目名称:atlas,代码行数:10,代码来源:DependencyManager.java

示例6: DefaultBuildOperationLoggerFactory

import org.gradle.api.logging.Logging; //导入方法依赖的package包/类
public DefaultBuildOperationLoggerFactory() {
    this(Logging.getLogger(DefaultBuildOperationLoggerFactory.class));
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:4,代码来源:DefaultBuildOperationLoggerFactory.java

示例7: DummyRewriter

import org.gradle.api.logging.Logging; //导入方法依赖的package包/类
public DummyRewriter() {
  _log = Logging.getLogger(DummyRewriter.class.getSimpleName());
}
 
开发者ID:rakutentech,项目名称:android-perftracking,代码行数:4,代码来源:DummyRewriter.java

示例8: PerformanceTrackingRewriter

import org.gradle.api.logging.Logging; //导入方法依赖的package包/类
public PerformanceTrackingRewriter() {
  _log = Logging.getLogger(PerformanceTrackingRewriter.class.getSimpleName());
}
 
开发者ID:rakutentech,项目名称:android-perftracking,代码行数:4,代码来源:PerformanceTrackingRewriter.java

示例9: AbstractProjectConfigPlugin

import org.gradle.api.logging.Logging; //导入方法依赖的package包/类
/**
 * Create a new plugin
 */
public AbstractProjectConfigPlugin() {
    this.logger = Logging.getLogger(getClass());
}
 
开发者ID:jochenseeber,项目名称:gradle-project-config,代码行数:7,代码来源:AbstractProjectConfigPlugin.java

示例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));
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:6,代码来源:DependencyManager.java

示例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());
}
 
开发者ID:Pushjet,项目名称:Pushjet-Android,代码行数:6,代码来源:AbstractGradleExecuter.java

示例12: WorkspacePlugin

import org.gradle.api.logging.Logging; //导入方法依赖的package包/类
/**
 * Create a new workspace plugin
 */
@Inject
public WorkspacePlugin() {
    this.logger = Logging.getLogger(getClass());
}
 
开发者ID:jochenseeber,项目名称:gradle-workspace-plugin,代码行数:8,代码来源:WorkspacePlugin.java


注:本文中的org.gradle.api.logging.Logging.getLogger方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。