mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-07 22:42:22 -04:00
rewrote use of With()
in dev-docs
This commit is contained in:
parent
62f2e44691
commit
747af57b25
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ Further we try to adhere to the following guidelines:
|
||||||
You should write
|
You should write
|
||||||
|
|
||||||
```Go
|
```Go
|
||||||
log.With(slog.String("address", addr), slog.Int("port", port)).Info("Starting server")
|
log..Info("Starting server", "addr", addr, "port", port)
|
||||||
```
|
```
|
||||||
|
|
||||||
* Use log levels to configure how detailed the logs of you application should be.
|
* Use log levels to configure how detailed the logs of you application should be.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue