Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/logging-design.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Status: implemented.

## Decision

Proton uses `tonyfettes/xlog` 0.4.1 as its logging API and implementation model.
Proton uses `tonyfettes/xlog` 0.5.1 as its logging API and implementation model.
It does not define parallel `LogLevel`, `LoggingConfig`, `Logger`, record,
filter, or handler abstractions.

Expand Down Expand Up @@ -32,7 +32,7 @@ constructed logger instances remain available:
}
```

Proton follows the xlog 0.4.1 model:
Proton follows the xlog 0.5.1 model:

- levels are `Fatal`, `Error`, `Warn`, `Info`, `Debug`, and `Trace`;
- categories are hierarchical and use longest-prefix configuration matching;
Expand Down
2 changes: 1 addition & 1 deletion proton/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,7 @@ re-adds a removed item until the next successful call.

## Logging

Use `tonyfettes/xlog@0.4.2` directly for application logs. Proton configures the
Use `tonyfettes/xlog@0.5.1` directly for application logs. Proton configures the
global logger before native runtime creation. Packaged applications write to
their platform log directory; direct launches and `proton_cli dev` use stderr.
xlog initializes filtering from `MOON_XLOG` (default: `Info`). Proton preserves
Expand Down
2 changes: 1 addition & 1 deletion proton/moon.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
"moonbit-community/proton_rsa@0.9.0",
"moonbitlang/x@0.5.5",
"moonbitlang/lexer@0.4.4",
"tonyfettes/xlog@0.4.2",
"tonyfettes/xlog@0.5.1",
"marianoguerra/uri@0.1.2",
}

Expand Down
Loading