getTimeFormatter() — vite Function Reference
Architecture documentation for the getTimeFormatter() function in logger.ts from the vite codebase.
Entity Profile
Dependency Diagram
graph TD b31a0f8d_a16d_4f07_c9e2_733cb9d546cd["getTimeFormatter()"] eca93de5_04d5_dda0_7ae6_2ceb5379ea81["logger.ts"] b31a0f8d_a16d_4f07_c9e2_733cb9d546cd -->|defined in| eca93de5_04d5_dda0_7ae6_2ceb5379ea81 04e3b119_ae40_14a9_42ce_3951d83fc60d["createLogger()"] 04e3b119_ae40_14a9_42ce_3951d83fc60d -->|calls| b31a0f8d_a16d_4f07_c9e2_733cb9d546cd style b31a0f8d_a16d_4f07_c9e2_733cb9d546cd fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/vite/src/node/logger.ts lines 59–66
function getTimeFormatter() {
timeFormatter ??= new Intl.DateTimeFormat(undefined, {
hour: 'numeric',
minute: 'numeric',
second: 'numeric',
})
return timeFormatter
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does getTimeFormatter() do?
getTimeFormatter() is a function in the vite codebase, defined in packages/vite/src/node/logger.ts.
Where is getTimeFormatter() defined?
getTimeFormatter() is defined in packages/vite/src/node/logger.ts at line 59.
What calls getTimeFormatter()?
getTimeFormatter() is called by 1 function(s): createLogger.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free