diff options
| author | Kujtim Hoxha <[email protected]> | 2025-04-10 13:29:44 +0200 |
|---|---|---|
| committer | Kujtim Hoxha <[email protected]> | 2025-04-10 13:29:44 +0200 |
| commit | 36f201d5d3aaba7e0285d86cf1c0cf6b54769cff (patch) | |
| tree | 1f1c99e66df4c25f816fbfba2b1e255c94bec9ba /internal/logging/logging.go | |
| parent | 0b007b9c77bc790127021a7e03c8e05ec8e5e081 (diff) | |
| download | opencode-36f201d5d3aaba7e0285d86cf1c0cf6b54769cff.tar.gz opencode-36f201d5d3aaba7e0285d86cf1c0cf6b54769cff.zip | |
fix logs and add cancellation
Diffstat (limited to 'internal/logging/logging.go')
| -rw-r--r-- | internal/logging/logging.go | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/internal/logging/logging.go b/internal/logging/logging.go deleted file mode 100644 index c23cfaff8..000000000 --- a/internal/logging/logging.go +++ /dev/null @@ -1,23 +0,0 @@ -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[LogMessage] - - PersistDebug(msg string, args ...any) - PersistInfo(msg string, args ...any) - PersistWarn(msg string, args ...any) - PersistError(msg string, args ...any) - List() []LogMessage - - SetLevel(level string) -} |
