mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-24 03:04:21 +01:00
initial
This commit is contained in:
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
|
||||
}
|
||||
Reference in New Issue
Block a user