Home / Function/ isEnabled() — netty Function Reference

isEnabled() — netty Function Reference

Architecture documentation for the isEnabled() function in AbstractInternalLogger.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  dfb75fcd_3145_3229_9d85_a61d066bd7fe["isEnabled()"]
  9b7c4143_3791_f051_0f3e_650bf7c1d0b9["AbstractInternalLogger"]
  dfb75fcd_3145_3229_9d85_a61d066bd7fe -->|defined in| 9b7c4143_3791_f051_0f3e_650bf7c1d0b9
  style dfb75fcd_3145_3229_9d85_a61d066bd7fe fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/internal/logging/AbstractInternalLogger.java lines 49–65

    @Override
    public boolean isEnabled(InternalLogLevel level) {
        switch (level) {
        case TRACE:
            return isTraceEnabled();
        case DEBUG:
            return isDebugEnabled();
        case INFO:
            return isInfoEnabled();
        case WARN:
            return isWarnEnabled();
        case ERROR:
            return isErrorEnabled();
        default:
            throw new Error("Unexpected log level: " + level);
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does isEnabled() do?
isEnabled() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/internal/logging/AbstractInternalLogger.java.
Where is isEnabled() defined?
isEnabled() is defined in common/src/main/java/io/netty/util/internal/logging/AbstractInternalLogger.java at line 49.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free