Home / Function/ warn() — astro Function Reference

warn() — astro Function Reference

Architecture documentation for the warn() function in core.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  30187c67_636a_7bc8_2f4c_f01a45ab12d4["warn()"]
  f581162d_11db_4a08_26dd_f9c2d8988ae5["AstroIntegrationLogger"]
  30187c67_636a_7bc8_2f4c_f01a45ab12d4 -->|defined in| f581162d_11db_4a08_26dd_f9c2d8988ae5
  ef3144cb_bbdb_e464_ba44_807897048b48["warn()"]
  ef3144cb_bbdb_e464_ba44_807897048b48 -->|calls| 30187c67_636a_7bc8_2f4c_f01a45ab12d4
  ef3144cb_bbdb_e464_ba44_807897048b48["warn()"]
  30187c67_636a_7bc8_2f4c_f01a45ab12d4 -->|calls| ef3144cb_bbdb_e464_ba44_807897048b48
  style 30187c67_636a_7bc8_2f4c_f01a45ab12d4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/core/logger/core.ts lines 214–216

	warn(message: string) {
		warn(this.options, this.label, message);
	}

Domain

Subdomains

Calls

Called By

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 214.
What does warn() call?
warn() calls 1 function(s): warn.
What calls warn()?
warn() is called by 1 function(s): warn.

Analyze Your Own Codebase

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

Try Supermodel Free