closer to ready

This commit is contained in:
sneak committed 2024-06-10 02:39:01 -07:00
1 parent 60cb410c32
commit d8f35dd031
3 files changed
+16 -6

No files matched your search

+5 -1
View File
@@ -2,10 +2,13 @@ package simplelog
import (
"context"
"encoding/json"
"log"
"runtime"
"log/slog"
"os"
"time"
"github.com/google/uuid"
"github.com/mattn/go-isatty"
)
@@ -81,6 +84,7 @@ func (cl *MultiplexHandler) WithGroup(name string) slog.Handler {
}
return &MultiplexHandler{handlers: newHandlers}
}
type ExtendedEvent interface {
GetID() uuid.UUID
GetTimestamp() time.Time