Commit graph

3 commits

Author SHA1 Message Date
Elle Mouton
b98fc168ec
go.mod+build: update btclog dep 2024-11-27 10:44:01 +02:00
Elle Mouton
cd697913ef
build: switch to slog Handlers
Start using the new slog handlers. With this commit we also remove the
need for the LogWriter since we let our LogRotator implement io.Writer
and pass that in to our log file handler.
2024-10-22 17:03:51 +02:00
Elle Mouton
9a9761008c
build: add handler set implementations
This commit then also adds an implementation of the btclog.Handler
interface called `handlerSets` which basically lets us have a Handler
backed by many Handlers (we need one for the stdout and one for our log
file).
2024-10-22 15:29:34 +02:00