Repository navigation
io microsphere logging DefaultLoggingLevelsResolver
Type: Class | Module: microsphere-logging-commons | Package: io.microsphere.logging | Since: 1.0.0
Source:
microsphere-logging-commons/src/main/java/io/microsphere/logging/DefaultLoggingLevelsResolver.java
The default implementation class of LoggingLevelsResolver
public class DefaultLoggingLevelsResolver implements LoggingLevelsResolverAuthor: Mercy
-
Introduced in:
1.0.0 -
Current Project Version:
0.2.4-SNAPSHOT
This component is tested and compatible with the following Java versions:
| Java Version | Status |
|---|---|
| Java 8 | ✅ Compatible |
| Java 11 | ✅ Compatible |
| Java 17 | ✅ Compatible |
| Java 21 | ✅ Compatible |
| Java 25 | ✅ Compatible |
Add the following dependency to your pom.xml:
<dependency>
<groupId>io.github.microsphere-projects</groupId>
<artifactId>microsphere-logging-commons</artifactId>
<version>${microsphere-logging.version}</version>
</dependency>Tip: Use the BOM (
microsphere-logging-dependencies) for consistent version management. See the Getting Started guide.
import io.microsphere.logging.DefaultLoggingLevelsResolver;| Method | Description |
|---|---|
resolve |
Protected constructor for singleton instance. |
public Set<String> resolve(Class<?> levelClass)Protected constructor for singleton instance. / protected DefaultLoggingLevelsResolver() { }
/** Resolve the supported logging levels from the specified logging level class
For example , the java.util.logging.Level class has many fields , but only some of them are static and final ,
such as SEVERE , WARNING , INFO , etc. , these fields represent the supported logging levels.
LoggingLevelsResolver
This documentation was auto-generated from the source code of microsphere-logging.
java-logging
log4j
log4j2
- DelegatingLayout
- InMemoryAppender
- Log4j2Logger
- Log4j2LoggerFactory
- Log4j2Logging
- Log4j2Utils
- LogEventComparator
- PropertyConstants
- SmartFileAppenderLayout
logback
logging-commons
- DefaultLoggingLevelsResolver
- Logging
- LoggingLevelsResolver
- LoggingMXBeanAdapter
- LoggingMXBeanRegistrar
- LoggingUtils
- PropertyConstants
logging-examples
logging-test