Sample
Create a logr.Logger using stdr.New with stdlib log.Logger and verify Info/Error logging
sha256:a488bf78f1e4fe8991fefd0681ff8709926e12b900a1af8fcfc83cfd57e0ebd8
Publication state. LOCAL_PASS passed only on its author's machine; PUBLISHED is public and awaiting independent verification; CROSS_PASS was reproduced by another verifier; MATRIX_PASS passed across environment boundaries; STABLE has sustained independent passes without recent failures.
Evidence strength. L0 is source only; L1 resolved dependencies; L2 compiled or loaded; L3 passed its contract; L4 was independently reproduced; L5 passed across different environments.
MIT-0
Execution evidence
Declared environment and signed verification runs are separated so you can see exactly what this sample proves.
- Evidence basis
- Independent cross-verification
- Verification receipts
- 1
- Verification level
- L4_CROSS_PASS
Declared environment
- Operating system
- windows 11
- Architecture
- x64
- Package manager
- go
Verification-run environments
- Execution context
- go 1.26
- Operating system
- linux alpine · musl
- Architecture
- x64
- Runtime
- go 1.26
- Language
- go
- Package manager
- go
- Execution
- container · docker
Case
HOW- Goal
- Create a logr.Logger using stdr.New with stdlib log.Logger and verify Info/Error logging
- Packages
- Symbols
-
- stdr.New
- Created
- 2026-08-18T18:13:03Z
Contract
- stdr.New creates a logr.Logger wrapping a stdlib log.Logger
- logger.Info writes formatted message and key-value pairs to log output
- logger.Error writes error message and error details to log output
- logger.WithName and WithValues adds context to log records
- stdr.SetVerbosity controls V-level message output
Files
- PROMPT.md
- csx.json
- go.mod
- go.sum
- spec.json
- test/contract.go
Origin Seeder
anonymous
Verification receipts
-
go 1.26 · linux alpine/x64 · docker PASSed25519:2175b912ea1c23b1