summaryrefslogtreecommitdiffhomepage
path: root/internal/logging/message.go
diff options
context:
space:
mode:
authoradamdottv <[email protected]>2025-05-08 12:03:59 -0500
committeradamdottv <[email protected]>2025-05-08 12:03:59 -0500
commitf41b7bbd0a0cc731fd7c471b7ee8b26f14a21755 (patch)
treebd34e77a07516735a220c210d4930fbe2132a63b /internal/logging/message.go
parente35ea2d448d1a3c9cf0a6fba1318e522fc61d1eb (diff)
downloadopencode-f41b7bbd0a0cc731fd7c471b7ee8b26f14a21755.tar.gz
opencode-f41b7bbd0a0cc731fd7c471b7ee8b26f14a21755.zip
chore: refactoring status updates
Diffstat (limited to 'internal/logging/message.go')
-rw-r--r--internal/logging/message.go12
1 files changed, 5 insertions, 7 deletions
diff --git a/internal/logging/message.go b/internal/logging/message.go
index 30ae8f379..b8a42d966 100644
--- a/internal/logging/message.go
+++ b/internal/logging/message.go
@@ -6,13 +6,11 @@ import (
// LogMessage is the event payload for a log message
type LogMessage struct {
- ID string
- Time time.Time
- Level string
- Persist bool // used when we want to show the mesage in the status bar
- PersistTime time.Duration // used when we want to show the mesage in the status bar
- Message string `json:"msg"`
- Attributes []Attr
+ ID string
+ Time time.Time
+ Level string
+ Message string `json:"msg"`
+ Attributes []Attr
}
type Attr struct {