magellan/internal/log/logger.go
2023-09-19 13:55:46 -06:00

22 lines
297 B
Go

package log
import (
"github.com/sirupsen/logrus"
)
type Logger struct {
Log *logrus.Logger
Path string
}
func NewLogger(l *logrus.Logger, level logrus.Level) *Logger {
l.SetLevel(level)
return &Logger{
Log: logrus.New(),
Path: "",
}
}
func (l *Logger) WriteFile(path string) {
}