Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 206 for slf4j (0.03 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/logging/Slf4jConfiguration.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cling.logging;
    
    /**
     * Interface for configuration operations on loggers, which are not available in slf4j, then require per-slf4f-binding
     * implementation.
     *
     * @since 3.1.0
     */
    public interface Slf4jConfiguration {
        /**
         * Level
         */
        enum Level {
            DEBUG,
            INFO,
            ERROR
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/logging/impl/Log4j2Configuration.java

     * under the License.
     */
    package org.apache.maven.cling.logging.impl;
    
    import org.apache.maven.cling.logging.BaseSlf4jConfiguration;
    
    /**
     * Configuration for slf4j-log4j2.
     *
     * @since 3.1.0
     */
    public class Log4j2Configuration extends BaseSlf4jConfiguration {
        @Override
        public void setRootLoggerLevel(Level level) {
            String value =
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 17 09:56:12 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/logging/Slf4jLoggerManager.java

     * under the License.
     */
    package org.apache.maven.cling.logging;
    
    import org.codehaus.plexus.logging.Logger;
    import org.codehaus.plexus.logging.LoggerManager;
    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
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  4. README.md

    ## 🔧 Configuration
    
    ### Logging Configuration
    CoreLib supports multiple logging frameworks. Configure your preferred logger:
    
    ```java
    // Use with SLF4J (add slf4j-api dependency)
    Logger logger = Logger.getLogger(MyClass.class);
    
    // Use with Commons Logging (add commons-logging dependency)  
    Logger logger = Logger.getLogger(MyClass.class);
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sun Aug 31 02:56:02 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/log/Logger.java

         * 1. SLF4J (if available)
         * 2. Commons Logging (if available)
         * 3. java.util.logging (fallback)
         * </p>
         *
         * @return the logger adapter factory
         */
        protected static LoggerAdapterFactory getLoggerAdapterFactory() {
            // Check for SLF4J first (most commonly used)
            if (isClassAvailable("org.slf4j.LoggerFactory")) {
                try {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/logging/impl/UnsupportedSlf4jBindingConfiguration.java

    import java.net.URL;
    import java.util.Map;
    import java.util.Set;
    
    import org.apache.maven.cling.logging.BaseSlf4jConfiguration;
    
    /**
     * Pseudo-configuration for unsupported SLF4J binding.
     *
     * @since 3.2.4
     */
    public class UnsupportedSlf4jBindingConfiguration extends BaseSlf4jConfiguration {
    
        /**
         * @deprecated the arguments are ignored. Use the no-args constructor.
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/logging/Slf4jLogger.java

    import org.codehaus.plexus.logging.Logger;
    
    /**
     * Adapt an SLF4J logger to a Plexus logger, ignoring Plexus logger API parts that are not classical and
     * probably not really used.
     *
     * @since 3.1.0
     */
    public class Slf4jLogger implements Logger {
    
        private final org.slf4j.Logger logger;
        private final String projectId;
    
        public Slf4jLogger(org.slf4j.Logger logger) {
            this.logger = logger;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  8. pom.xml

    			<version>2.1.1</version>
    			<scope>provided</scope>
    		</dependency>
    		<dependency>
    			<groupId>org.slf4j</groupId>
    			<artifactId>slf4j-api</artifactId>
    			<version>1.7.36</version>
    		</dependency>
    		<dependency>
    			<groupId>org.slf4j</groupId>
    			<artifactId>slf4j-reload4j</artifactId>
    			<version>1.7.36</version>
    			<scope>test</scope>
    		</dependency>
    		<dependency>
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Mon Aug 25 14:34:10 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  9. fess-crawler-opensearch/pom.xml

    			<artifactId>jetty-server</artifactId>
    			<version>12.0.32</version>
    			<scope>test</scope>
    		</dependency>
    		<dependency>
    			<groupId>org.slf4j</groupId>
    			<artifactId>slf4j-log4j12</artifactId>
    			<version>${slf4j.version}</version>
    			<scope>test</scope>
    		</dependency>
    		<dependency>
    			<groupId>org.codelibs.opensearch</groupId>
    			<artifactId>opensearch-runner</artifactId>
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Mar 05 23:30:42 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  10. pom.xml

    				<configuration>
    					<publishingServerId>central</publishingServerId>
    				</configuration>
    			</plugin>
    		</plugins>
    	</build>
    	<dependencies>
    		<dependency>
    			<groupId>org.slf4j</groupId>
    			<artifactId>slf4j-api</artifactId>
    			<version>2.0.16</version>
    			<optional>true</optional>
    		</dependency>
    		<dependency>
    			<groupId>commons-logging</groupId>
    			<artifactId>commons-logging</artifactId>
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Dec 20 04:15:34 GMT 2025
    - 4.9K bytes
    - Click Count (0)
Back to Top