Home / Function/ enableVerboseLogging() — astro Function Reference

enableVerboseLogging() — astro Function Reference

Architecture documentation for the enableVerboseLogging() function in node.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  a265c6bd_dbd1_05b4_2c1e_29f9d831a71e["enableVerboseLogging()"]
  51ee7613_adf0_a94b_10b9_892d647031ea["node.ts"]
  a265c6bd_dbd1_05b4_2c1e_29f9d831a71e -->|defined in| 51ee7613_adf0_a94b_10b9_892d647031ea
  43a76ed7_6fcf_7d45_53d2_76b2a4cb27cc["debug()"]
  a265c6bd_dbd1_05b4_2c1e_29f9d831a71e -->|calls| 43a76ed7_6fcf_7d45_53d2_76b2a4cb27cc
  style a265c6bd_dbd1_05b4_2c1e_29f9d831a71e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/core/logger/node.ts lines 42–49

export function enableVerboseLogging() {
	debugPackage.enable('astro:*,vite:*');
	debug('cli', '--verbose flag enabled! Enabling: DEBUG="astro:*,vite:*"');
	debug(
		'cli',
		'Tip: Set the DEBUG env variable directly for more control. Example: "DEBUG=astro:*,vite:* astro build".',
	);
}

Domain

Subdomains

Calls

Frequently Asked Questions

What does enableVerboseLogging() do?
enableVerboseLogging() is a function in the astro codebase, defined in packages/astro/src/core/logger/node.ts.
Where is enableVerboseLogging() defined?
enableVerboseLogging() is defined in packages/astro/src/core/logger/node.ts at line 42.
What does enableVerboseLogging() call?
enableVerboseLogging() calls 1 function(s): debug.

Analyze Your Own Codebase

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

Try Supermodel Free