This commit is contained in:
ge committed 2026-01-03 16:38:28 +03:00
commit 1fa21a9c74
12 files changed
+623

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
import os
import structlog
fn main() {
// Initialize logger with edited timestamp.
log := structlog.new(
timestamp_format: .unix
handler: structlog.JSONHandler{
writer: os.stdout()
}
)
defer {
log.close()
}
log.info().message('Hello, World!').send()
}