warn() — astro Function Reference
Architecture documentation for the warn() function in core.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD ef3144cb_bbdb_e464_ba44_807897048b48["warn()"] 02538c7d_0423_3484_a5c8_415c85ba2988["core.ts"] ef3144cb_bbdb_e464_ba44_807897048b48 -->|defined in| 02538c7d_0423_3484_a5c8_415c85ba2988 110e55bf_2af8_3e85_037e_29c7caf6b181["warn()"] 110e55bf_2af8_3e85_037e_29c7caf6b181 -->|calls| ef3144cb_bbdb_e464_ba44_807897048b48 30187c67_636a_7bc8_2f4c_f01a45ab12d4["warn()"] 30187c67_636a_7bc8_2f4c_f01a45ab12d4 -->|calls| ef3144cb_bbdb_e464_ba44_807897048b48 cd067746_f2d0_f6e1_7f9f_4e101d90b6f8["log()"] ef3144cb_bbdb_e464_ba44_807897048b48 -->|calls| cd067746_f2d0_f6e1_7f9f_4e101d90b6f8 30187c67_636a_7bc8_2f4c_f01a45ab12d4["warn()"] ef3144cb_bbdb_e464_ba44_807897048b48 -->|calls| 30187c67_636a_7bc8_2f4c_f01a45ab12d4 style ef3144cb_bbdb_e464_ba44_807897048b48 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/core/logger/core.ts lines 115–117
function warn(opts: LogOptions, label: string | null, message: string, newLine = true) {
return log(opts, 'warn', label, message, newLine);
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does warn() do?
warn() is a function in the astro codebase, defined in packages/astro/src/core/logger/core.ts.
Where is warn() defined?
warn() is defined in packages/astro/src/core/logger/core.ts at line 115.
What does warn() call?
warn() calls 2 function(s): log, warn.
What calls warn()?
warn() is called by 2 function(s): warn, warn.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free