docs(core): fix logz.Options -> logz.Config in doc examples; bump to v1.1.0
Coordinated framework release. Documentation-only code change plus the shared
version bump.
- core/launcher/doc.go, core/logz/doc.go: logz.New(logz.Options{...}) ->
logz.Config (Options was retired per ADR-003; the constructor takes Config).
- go.mod: contracts -> v1.1.0 (via go get + go mod tidy).
Verified by compiling the example patterns against the real API. Badge -> v1.1.0.
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@
|
||||
//
|
||||
// Usage:
|
||||
//
|
||||
// logger := logz.New(logz.Options{JSON: true})
|
||||
// logger := logz.New(logz.Config{JSON: true})
|
||||
// lc := launcher.New(logger)
|
||||
//
|
||||
// lc.Append(db, cache, server)
|
||||
|
||||
Reference in New Issue
Block a user