getNetworkLogging() — astro Function Reference
Architecture documentation for the getNetworkLogging() function in messages.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 23f4c0bf_3ed5_1a85_1779_9fdc151e6f21["getNetworkLogging()"] a89de736_d85a_fc8a_68a9_5d9ea54128d5["messages.ts"] 23f4c0bf_3ed5_1a85_1779_9fdc151e6f21 -->|defined in| a89de736_d85a_fc8a_68a9_5d9ea54128d5 610fc112_c1c3_f5b8_a676_7b1c5faf2b7d["serverStart()"] 610fc112_c1c3_f5b8_a676_7b1c5faf2b7d -->|calls| 23f4c0bf_3ed5_1a85_1779_9fdc151e6f21 style 23f4c0bf_3ed5_1a85_1779_9fdc151e6f21 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/core/messages.ts lines 202–210
function getNetworkLogging(host: string | boolean): 'none' | 'host-to-expose' | 'visible' {
if (host === false) {
return 'host-to-expose';
} else if (typeof host === 'string' && LOCAL_IP_HOSTS.has(host)) {
return 'none';
} else {
return 'visible';
}
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does getNetworkLogging() do?
getNetworkLogging() is a function in the astro codebase, defined in packages/astro/src/core/messages.ts.
Where is getNetworkLogging() defined?
getNetworkLogging() is defined in packages/astro/src/core/messages.ts at line 202.
What calls getNetworkLogging()?
getNetworkLogging() is called by 1 function(s): serverStart.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free