initial
This commit is contained in:
commit
4b0ea68d7a
28 changed files with 2229 additions and 0 deletions
17
internal/logging/logging.go
Normal file
17
internal/logging/logging.go
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
package logging
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/kujtimiihoxha/termai/internal/pubsub"
|
||||
)
|
||||
|
||||
type Interface interface {
|
||||
Debug(msg string, args ...any)
|
||||
Info(msg string, args ...any)
|
||||
Warn(msg string, args ...any)
|
||||
Error(msg string, args ...any)
|
||||
Subscribe(ctx context.Context) <-chan pubsub.Event[Message]
|
||||
|
||||
List() []Message
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue