func New(monitor monitor.Monitor) lua.Module {
	l := &logger{monitor}
	m := &lua.NativeModule{
		Name:    "log",
		Version: "1.0",
	}
	m.Register("debug", l.Debug)
	m.Register("info", l.Info)
	m.Register("warning", l.Warning)
	m.Register("error", l.Error)
	return m
}
New creates a new lua module exposing the logger
package log
import (
	"github.com/grab/talaria/internal/monitor"
	"github.com/grab/talaria/internal/monitor/errors"
	"github.com/kelindar/lua"
)