swap out logrus for charmbracelet/log

This commit is contained in:
onyx-and-iris 2025-06-14 07:39:08 +01:00
parent 8ab543df0f
commit 5b8219d107
3 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@ package vbantxt
import ( import (
"time" "time"
log "github.com/sirupsen/logrus" "github.com/charmbracelet/log"
) )
// Option is a functional option type that allows us to configure the VbanTxt. // Option is a functional option type that allows us to configure the VbanTxt.

View File

@ -4,7 +4,7 @@ import (
"bytes" "bytes"
"encoding/binary" "encoding/binary"
log "github.com/sirupsen/logrus" "github.com/charmbracelet/log"
) )
const ( const (
@ -70,5 +70,5 @@ func (p *packet) bumpFrameCounter() {
x := binary.LittleEndian.Uint32(p.framecounter) x := binary.LittleEndian.Uint32(p.framecounter)
binary.LittleEndian.PutUint32(p.framecounter, x+1) binary.LittleEndian.PutUint32(p.framecounter, x+1)
log.Tracef("framecounter: %d", x) log.Debugf("framecounter: %d", x)
} }

View File

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"net" "net"
log "github.com/sirupsen/logrus" "github.com/charmbracelet/log"
) )
// udpConn represents the UDP client. // udpConn represents the UDP client.