Home / Function/ log() — astro Function Reference

log() — astro Function Reference

Architecture documentation for the log() function in messages.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  325f265a_a84d_6afa_c4c9_7a8631d25cd0["log()"]
  7e47cce3_632a_b102_4402_d13baf44fc8e["messages.ts"]
  325f265a_a84d_6afa_c4c9_7a8631d25cd0 -->|defined in| 7e47cce3_632a_b102_4402_d13baf44fc8e
  08bdf8e6_b270_1997_da9d_a2609959fb86["banner()"]
  08bdf8e6_b270_1997_da9d_a2609959fb86 -->|calls| 325f265a_a84d_6afa_c4c9_7a8631d25cd0
  ecd8d595_fb44_b9dc_71de_52d5225cb12f["bannerAbort()"]
  ecd8d595_fb44_b9dc_71de_52d5225cb12f -->|calls| 325f265a_a84d_6afa_c4c9_7a8631d25cd0
  b78dc053_a0be_b508_a1a0_21dbbc502692["info()"]
  b78dc053_a0be_b508_a1a0_21dbbc502692 -->|calls| 325f265a_a84d_6afa_c4c9_7a8631d25cd0
  6ff4f501_c7b5_5632_a9d6_0aef1744c127["error()"]
  6ff4f501_c7b5_5632_a9d6_0aef1744c127 -->|calls| 325f265a_a84d_6afa_c4c9_7a8631d25cd0
  47bbc8f6_9dc9_51ef_b118_5ce66b4639fb["nextSteps()"]
  47bbc8f6_9dc9_51ef_b118_5ce66b4639fb -->|calls| 325f265a_a84d_6afa_c4c9_7a8631d25cd0
  35257cda_684b_7921_604a_ded460d84474["printHelp()"]
  35257cda_684b_7921_604a_ded460d84474 -->|calls| 325f265a_a84d_6afa_c4c9_7a8631d25cd0
  style 325f265a_a84d_6afa_c4c9_7a8631d25cd0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/create-astro/src/messages.ts lines 77–77

export const log = (message: string) => stdout.write(message + '\n');

Domain

Subdomains

Frequently Asked Questions

What does log() do?
log() is a function in the astro codebase, defined in packages/create-astro/src/messages.ts.
Where is log() defined?
log() is defined in packages/create-astro/src/messages.ts at line 77.
What calls log()?
log() is called by 6 function(s): banner, bannerAbort, error, info, nextSteps, printHelp.

Analyze Your Own Codebase

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

Try Supermodel Free