isLogLevelEnabled() — astro Function Reference
Architecture documentation for the isLogLevelEnabled() function in core.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 8c58587a_5c49_c250_da10_3ccfd5318dda["isLogLevelEnabled()"] 02538c7d_0423_3484_a5c8_415c85ba2988["core.ts"] 8c58587a_5c49_c250_da10_3ccfd5318dda -->|defined in| 02538c7d_0423_3484_a5c8_415c85ba2988 cd067746_f2d0_f6e1_7f9f_4e101d90b6f8["log()"] cd067746_f2d0_f6e1_7f9f_4e101d90b6f8 -->|calls| 8c58587a_5c49_c250_da10_3ccfd5318dda style 8c58587a_5c49_c250_da10_3ccfd5318dda fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/core/logger/core.ts lines 105–107
export function isLogLevelEnabled(configuredLogLevel: LoggerLevel, level: LoggerLevel) {
return levels[configuredLogLevel] <= levels[level];
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does isLogLevelEnabled() do?
isLogLevelEnabled() is a function in the astro codebase, defined in packages/astro/src/core/logger/core.ts.
Where is isLogLevelEnabled() defined?
isLogLevelEnabled() is defined in packages/astro/src/core/logger/core.ts at line 105.
What calls isLogLevelEnabled()?
isLogLevelEnabled() is called by 1 function(s): log.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free