- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 176 for LoggerFactory (0.15 seconds)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/logging/impl/MavenSimpleConfiguration.java
import org.apache.maven.slf4j.MavenLoggerFactory; import org.slf4j.ILoggerFactory; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * Configuration for slf4j-simple. * * @since 3.1.0 */ public class MavenSimpleConfiguration extends BaseSlf4jConfiguration { private static final Logger LOGGER = LoggerFactory.getLogger(MavenSimpleConfiguration.class); @Override public void setRootLoggerLevel(Level level) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Oct 08 21:10:33 GMT 2025 - 2.2K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/logging/Slf4jLoggerManager.java
import org.slf4j.ILoggerFactory; import org.slf4j.LoggerFactory; /** * Use an SLF4J {@link ILoggerFactory} as a backing for a Plexus * {@link LoggerManager}, * ignoring Plexus logger API parts that are not classical and probably not really used. * * @since 3.1 */ public class Slf4jLoggerManager implements LoggerManager { private final ILoggerFactory loggerFactory; public Slf4jLoggerManager() {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Nov 08 08:49:11 GMT 2024 - 2.9K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/classrealm/DefaultClassRealmManagerTest.java
InOrder verifier = inOrder(logger); PlexusContainer container = new DefaultPlexusContainer(); try (MockedStatic<LoggerFactory> mockedLoggerFactory = Mockito.mockStatic(LoggerFactory.class)) { mockedLoggerFactory .when(() -> LoggerFactory.getLogger(DefaultClassRealmManager.class)) .thenReturn(logger);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 7.2K bytes - Click Count (0) -
compat/maven-embedder/src/site/apt/logging.apt
Starting with Maven 3.1.0: * Maven supports SLF4J API logging API too, ie {{{http://slf4j.org/apidocs/org/slf4j/LoggerFactory.html}LoggerFactory}} / {{{http://slf4j.org/apidocs/org/slf4j/Logger.html}Logger}}, * instead of implementing Plexus logging API itself with basic output to console, Maven implements it using SLF4J API inCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.1K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DefaultGenerationListener.java
* limitations under the License. */ package gradlebuild.docs.dsl.docbook; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.LinkedList; public class DefaultGenerationListener implements GenerationListener { private static final Logger LOGGER = LoggerFactory.getLogger(DefaultGenerationListener.class); private final LinkedList<String> contextStack = new LinkedList<String>(); @OverrideCreated: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 1.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/MavenPluginMavenPrerequisiteChecker.java
import org.apache.maven.rtinfo.RuntimeInformation; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @Named @Singleton public class MavenPluginMavenPrerequisiteChecker implements MavenPluginPrerequisitesChecker { private final Logger logger = LoggerFactory.getLogger(getClass()); private final RuntimeInformation runtimeInformation; @InjectCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.6K bytes - Click Count (0) -
src/test/java/jcifs/BaseTest.java
import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * Base test class providing common test infrastructure and utilities. * All test classes should extend this to ensure consistent test setup. */ @ExtendWith(MockitoExtension.class) public abstract class BaseTest { protected final Logger logger = LoggerFactory.getLogger(getClass()); @BeforeEach void baseSetUp() {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.2K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/logging/BaseSlf4jConfiguration.java
* under the License. */ package org.apache.maven.cling.logging; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * Abstract implementation. * * @since 3.1.0 */ public class BaseSlf4jConfiguration implements Slf4jConfiguration { private static final Logger LOGGER = LoggerFactory.getLogger(BaseSlf4jConfiguration.class); @Override public void setRootLoggerLevel(Level level) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Nov 08 08:49:11 GMT 2024 - 1.3K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/DistributionManagementArtifactRelocationSource.java
import org.eclipse.aether.artifact.Artifact; import org.eclipse.aether.resolution.ArtifactDescriptorResult; import org.eclipse.sisu.Priority; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * Relocation source from standard distribution management. This is the "one and only" relocation implementation that * existed in Maven 3 land, uses POM distributionManagement/relocation. * <p>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.2K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/logging/Slf4jConfigurationFactory.java
public class Slf4jConfigurationFactory { public static final String RESOURCE = "META-INF/maven/slf4j-configuration.properties"; public static Slf4jConfiguration getConfiguration(ILoggerFactory loggerFactory) { String slf4jBinding = loggerFactory.getClass().getCanonicalName(); try { Enumeration<URL> resources = Slf4jConfigurationFactory.class.getClassLoader().getResources(RESOURCE);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Nov 08 08:49:11 GMT 2024 - 3.1K bytes - Click Count (0)