mirror of
https://github.com/MedzikUser/go-pingbot
synced 2024-08-14 23:57:07 +00:00
- Added ctx to backend ping - Log changed Stderr to Stdout - Added cluster functional - Updated more files
15 lines
222 B
Go
15 lines
222 B
Go
package common
|
|
|
|
import (
|
|
"os"
|
|
|
|
"github.com/sirupsen/logrus"
|
|
)
|
|
|
|
var Log = &logrus.Logger{
|
|
Out: os.Stdout,
|
|
Formatter: new(logrus.TextFormatter),
|
|
Hooks: make(logrus.LevelHooks),
|
|
Level: logrus.InfoLevel,
|
|
}
|