func New() *Logger { log := Logger{Logger: *logrus.New()} log.Out = os.Stdout log.moduleStack = scopestack.NewScopeStack(1) return &log }
func New() *Logger { log := Logger{ Logger: *logrus.New(), logHooks: make(logrus.LevelHooks), } log.Out = os.Stdout log.moduleStack = scopestack.NewScopeStack(1) return &log }