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
  110e55bf_2af8_3e85_037e_29c7caf6b181["warn()"]
  fcd437b2_6a25_7c17_c2d9_1d23656b3429["Logger"]
  110e55bf_2af8_3e85_037e_29c7caf6b181 -->|defined in| fcd437b2_6a25_7c17_c2d9_1d23656b3429
  ef3144cb_bbdb_e464_ba44_807897048b48["warn()"]
  110e55bf_2af8_3e85_037e_29c7caf6b181 -->|calls| ef3144cb_bbdb_e464_ba44_807897048b48
  style 110e55bf_2af8_3e85_037e_29c7caf6b181 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/core/logger/core.ts lines 176–178

	warn(label: LoggerLabel | null, message: string, newLine = true) {
		warn(this.options, label, message, newLine);
	}

Domain

Subdomains

Calls

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

Analyze Your Own Codebase

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

Try Supermodel Free