diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2025-08-17 15:16:01 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2025-08-20 15:57:39 +0200 |
| commit | 9463ec4cb063f0bde03d0e1b2a650f5887ad29ff (patch) | |
| tree | 035af855f260b7a9d4e63d0b5ad67000ad6e8ea1 /go/game/permanent.go | |
| parent | 5f97fb7a1606908e99be97d67e5871d55067dac7 (diff) | |
| download | muhqs-game-9463ec4cb063f0bde03d0e1b2a650f5887ad29ff.tar.gz muhqs-game-9463ec4cb063f0bde03d0e1b2a650f5887ad29ff.zip | |
use slog and add game log handler callback
Diffstat (limited to 'go/game/permanent.go')
| -rw-r--r-- | go/game/permanent.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/go/game/permanent.go b/go/game/permanent.go index 5c105724..5e42973a 100644 --- a/go/game/permanent.go +++ b/go/game/permanent.go @@ -2,11 +2,11 @@ package game import ( "fmt" - "log" "strings" "golang.org/x/exp/slices" + "muhq.space/muhqs-game/go/log" "muhq.space/muhqs-game/go/utils" ) @@ -187,7 +187,7 @@ func (p *permanentBase) XEffect(effect string) (int, error) { } for _, e := range p.tmpEffects { - log.Println(effect, e) + log.Debug("tmp xEffect", "effect", effect, "tmpEffect", e) if !strings.Contains(e, effect) { continue } |
