mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 03:27:03 -07:00
Removed magellan's internal logger for zerolog
This commit is contained in:
parent
386e9f2777
commit
9b3c21a20a
1 changed files with 0 additions and 22 deletions
|
|
@ -1,22 +0,0 @@
|
||||||
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) {
|
|
||||||
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue