1
0
mirror of https://github.com/taigrr/log-socket synced 2025-01-18 04:53:14 -08:00

logger => log

This commit is contained in:
Tai Groot 2021-08-23 21:12:21 -07:00
parent f51ec53a89
commit 63ed3a2ad7
Signed by: taigrr
GPG Key ID: D00C269A87614812
5 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
package logger
package log
import (
"errors"
@ -200,7 +200,7 @@ func Infof(format string, args ...interface{}) {
}
// Info prints out logs on info level
func Noticef(args ...interface{}) {
func Notice(args ...interface{}) {
output := fmt.Sprint(args...)
e := Entry{
Timestamp: time.Now(),

View File

@ -1,4 +1,4 @@
package logger
package log
import (
"strconv"

View File

@ -1,4 +1,4 @@
package logger
package log
import "time"

View File

@ -6,7 +6,7 @@ import (
"time"
"github.com/taigrr/log-socket/browser"
"github.com/taigrr/log-socket/logger"
logger "github.com/taigrr/log-socket/log"
"github.com/taigrr/log-socket/ws"
)

View File

@ -5,7 +5,7 @@ import (
"net/http"
"github.com/gorilla/websocket"
"github.com/taigrr/log-socket/logger"
logger "github.com/taigrr/log-socket/log"
)
// var addr = flag.String("addr", "localhost:8080", "http service address")