Refactored, renamed, and reorganized code

This commit is contained in:
David J. Allen 2023-09-19 13:55:46 -06:00
parent 589cc12962
commit b504550d98
7 changed files with 71 additions and 36 deletions

View file

@ -1,22 +0,0 @@
package magellan
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) {
}