mirror of
https://github.com/tuxdotrs/trok.git
synced 2025-07-06 20:06:34 +05:30
feat: add zerolog logger
This commit is contained in:
@ -5,9 +5,9 @@ Copyright © 2024 tux <0xtux@pm.me>
|
||||
package client
|
||||
|
||||
import (
|
||||
"log"
|
||||
"github.com/rs/zerolog/log"
|
||||
)
|
||||
|
||||
func Start(port uint16) {
|
||||
log.Printf("Hello from client: %d", port)
|
||||
log.Info().Msgf("Hello from client: %d", port)
|
||||
}
|
||||
|
Reference in New Issue
Block a user