diff options
Diffstat (limited to 'internal/logging/logging.go')
| -rw-r--r-- | internal/logging/logging.go | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/internal/logging/logging.go b/internal/logging/logging.go new file mode 100644 index 000000000..14653d1bb --- /dev/null +++ b/internal/logging/logging.go @@ -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 +} |
