mirror of
https://github.com/onyx-and-iris/vbantxt.git
synced 2025-06-27 05:40:28 +01:00
swap out logrus for charmbracelet/log
This commit is contained in:
parent
8ab543df0f
commit
5b8219d107
@ -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.
|
||||||
|
@ -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)
|
||||||
}
|
}
|
||||||
|
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user