Skip to content

console.aug diagrams ​

Labeled calls and injection

Project overview · Compiled explanation

Class interactions ​

100%
Mermaid source
flowchart TD
    n0["Console"]
    n1["ConsoleLogger"]
    n2["Logger"]
    n1 -->|"calls write; depends on"| n0
    n1 -->|"implements"| n2

Sequences ​

Call arrows identify checked targets; loop and branch frames determine when they run. Open that target’s module to follow its implementation. Branches describe alternatives; loops describe repeated work. Native calls and interface dispatch stop at their declared contracts. Exit notes end that path; enclosing recovery and cleanup remain visible.

ConsoleLogger constructor ​

It implements Logger.

Explanation.

ConsoleLogger.log ​

It takes message as a string. It gets console (Console) from dependency injection.

It can call Console.write.

100%
Mermaid source
sequenceDiagram
    participant p0 as ConsoleLogger.log
    participant p1 as console: Console
    p0->>p1: write(value=message) · interface dispatch

Called contracts ​

Last updated:

The world runs on language