Release v0.45.0 (#3424)

Co-authored-by: Marcin Rataj <lidel@lidel.org>
This commit is contained in:
Marco Munizaga
2025-11-05 23:05:50 -05:00
committed by GitHub
parent 3f09fa4244
commit d0ecbf99a9
2 changed files with 7 additions and 2 deletions

View File

@@ -13,14 +13,19 @@
//
// Applications can optionally connect go-libp2p to go-log by calling SetDefaultHandler:
//
// import golog "github.com/ipfs/go-log/v2"
//
// func init() {
// gologshim.SetDefaultHandler(slog.Default().Handler())
// gologshim.SetDefaultHandler(golog.SlogHandler())
// }
//
// When integrated, go-libp2p logs use go-log's formatting and can be controlled
// programmatically via go-log's SetLogLevel("subsystem", "level") API to adjust
// log verbosity per subsystem at runtime without restarting.
//
// Note: SlogHandler() works even when GOLOG_CAPTURE_DEFAULT_SLOG=false, making
// it more reliable than using slog.Default().Handler().
//
// # Standalone Usage
//
// Without calling SetDefaultHandler, gologshim creates standalone slog handlers

View File

@@ -1,3 +1,3 @@
{
"version": "v0.44.0"
"version": "v0.45.0"
}